Search the Community
Showing results for tags 'sorting'.
-
Hi, I just want to know if there is a way to sort a unitreeview, but only the parent nodes, that is, the level 0 of a treenode. I am populating dynamically the items of a treeview, but i need them to be sorted alphabetically, after adding. Can someone ever had this need of sorting a unitreeview and know how to do it? Thanks in advance. Ana
-
TUniDBGrid - Set/Get sorting stastus of a column
Jean-Marc Kiener posted a topic in Feature Requests
Based on following discussion: http://forums.unigui.com/index.php?/topic/5358-unidbgrid-get-set-sorting-state-of-column/ It would be importand if we could get/set the sorting status of a column by code. Something like TUniDBGrid.columns[0].Sort(asc); TUniDBGris.colimns[0].SortingState; (ssNone, ssAsc, ssDesc) Then we could save and reset the sort state of a grid. At moment, if you open a form with a grid, you can not set the column shown as sorted which is actually sorted in the dataset behind. So, if the user clicks on the column header, nothing occurs but the header is shown as sorted, what it already was before..- 2 replies
-
- 1
-
- TUniDBGrid
- Columns
-
(and 2 more)
Tagged with:
-
Hello guys! I have a UniDBGrid with some columns with the "Sortable" property enabled and the "OnColumnSort" event scheduled. Basically, I enter the field in the "IndexFieldName" property of TADQuery. However, I need to clear this order ... Return to the original sort order, which is in the SQL query. Even closing and opening the query and clearing the property "IndexFieldName", prevails the ordering of the column that was clicked. How to clear the ordering of the UniDBGrid columns? Sorry for English. I'm brazilian. Thank you!
-
Hi to all Unigui Community, after a research on the forum I don't find how to sort columns on unidbgrid. There is a demo that does it but no source code. Moreover I enabled the option sortable, menu is enabled, but does not sort anything. Thanks for your time.