sqlitestudio icon indicating copy to clipboard operation
sqlitestudio copied to clipboard

Plugin based rendering in Grid View

Open Timmmm opened this issue 4 years ago • 1 comments

Currently you can use the MultiEditorWidget plugins to display and edit data values that are in custom formats (images, dates, etc.). That is very useful, but when you have a lot of these values it is tedious to double click each one to preview it.

It would be really cool if there was a plugin that let you write a custom display function for the data table itself. I think it would make sense to only support images and text as the returned values.

Imagine you have a table of icons, where one BLOB column contains the image data. The user could right click the column, select "Show As->Image" or something like that, and then it would display all the images inline.

Timmmm avatar Dec 09 '20 10:12 Timmmm

I thought about it. That would probably be a different type of plugins, as fitting into grid take a little bit different approach.

Anyway, at this moment you can consider switching fo "Form View", a MultiEditorWidget is used there for all columns. Obviously it's not as convenient as having it on Grid View, but I'm just pointing out possibilities available for now.

pawelsalawa avatar Dec 09 '20 11:12 pawelsalawa