sqlitestudio icon indicating copy to clipboard operation
sqlitestudio copied to clipboard

[Feature request] Grouping of records grid view

Open neut opened this issue 2 years ago • 5 comments

It would be nice to have the option to group the records as shown in the data tab of sql Views or Tables. This makes live sorting and browsing through data much easier. Example implementation is by sqlitemaestro application (ability to expand/collapse groups, as well as nested groups), although I think the UI of sqlitestudio is overall much better and faster.

Thanks overall; great app.

neut avatar Dec 14 '22 19:12 neut

I don't know what would this grouping look like or how it would behave like. Can you elaborate a little bit? Or show some pictures that explain it?

pawelsalawa avatar Dec 14 '22 20:12 pawelsalawa

Thanks for the fast response. Essentially the feature is to group records by the contents of a grid column. Each column that is selected as "group by" divides all records into groups and displays them as sets of rows. In other words: the rows are divided into groups.

This can be done in a nested way. I doodled something to show what I mean, showing a "normal" grid and a grouped grid grouped by 1 column and grouped by 2 columns.

image

A reasonable implementation of this is done by sqlitemaestro. But I think it can be done better. I can make some suggestions when I have time tomorrow.

For reference I've added some more screenshots 3720bbae8f713f43c5849d5cdc3a5dd4586b81c4fc9e1b39f859c35e14bac062

5efc662444adf0fd3f558d411dba5093d6f8c3d2c2d3c04c9e73deb2c2b1617b

neut avatar Dec 14 '22 21:12 neut

Got it. Thanks.

pawelsalawa avatar Dec 14 '22 22:12 pawelsalawa

(For reference of this ticket)

The industry term for this feature is called pivot tables

neut avatar Mar 05 '23 10:03 neut

Another great implementation is Ultorg.

tuffnatty avatar Mar 16 '23 21:03 tuffnatty