PDA

View Full Version : New grid sorting implemented in v1.2.4



barrymavin
2014-10-07, 01:55
In v1.2.4 I have added the ability to dynamically sort the data displayed in a grid by clicking on the grid column headers. This is implemented in both desktop and web clients. There is a new grid section attribute "Sortable" which you can check to enable this on a grid.

Here is an example in the Web Client. Just click the column header once to sort ascending and again to sort descending. This is all handled automatically for you and the grid is refreshed while still maintaining the parent->child relationship, filters and search condition if active.

788

To make a grid "Sortable" just check the "Sortable" attribute in the section attributes,

789

SpringBox
2014-10-07, 07:33
Fantastic Barry - thanks.

That is one we can cross of our To-Do list. Does it work for gadget grids too?

Cheers

SpringBox

barrymavin
2014-10-07, 07:43
No just sections based on bound tables as in the desktop it uses indexes. In the web it uses the OData $orderby.

Grid gadgets are not yet available in the web as you already know and your grid gadgets are populated dynamically using SQL.

tekhong
2014-10-07, 08:23
Hi Barry

Thanks again for the sortable grid!

Best Regards

hmischel@diligentsystems.com
2014-10-07, 10:44
Thanks so much!!
I love it.

yvonne.milne
2014-10-17, 08:27
Sortable Grids video now available here (http://www.lianja.com/doc/index.php/Sortable_Grid_Sections_(Video)).