M477H13U Posted September 18, 2018 Share Posted September 18, 2018 Hello Sherzod! you can find the testCase bellow ! Can't wait to read your reaction ! (: Regards, TestGridSorting.7z Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 18, 2018 Share Posted September 18, 2018 Hello, I think the reason for this, this code (uniDBGrid.pas) ... if (FLastSortCols[I] <> SortCols[I]) or (FLastSortDirs[I] <> SortDirs[I]) ... Quote Link to comment Share on other sites More sharing options...
M477H13U Posted September 20, 2018 Share Posted September 20, 2018 Okay, then what do you suggest ? (: Quote Link to comment Share on other sites More sharing options...
M477H13U Posted October 23, 2018 Share Posted October 23, 2018 Hello there ! Any news on that matter ? Regards, Quote Link to comment Share on other sites More sharing options...
M477H13U Posted October 31, 2018 Share Posted October 31, 2018 Hello there! we found another issue on sorting. The aim is to apply a sorting profil to grid when it is opened. Currently we are simulating header click/sorting as following: UniSession.AddJS(UniDBGrid1.JSName+'.store.getSorters().add(new Ext.util.Sorter({property: 0,direction: ''ASC''}))'); It is working properly except for the first column of the grid. Data seems to be sorted but pictogramme is not showed. How could we do So ? Would you suggest another approach ? With the hope of reading you promptly, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 31, 2018 Share Posted October 31, 2018 Hello, Can you make a simple testcase for this ?! Quote Link to comment Share on other sites More sharing options...
M477H13U Posted October 31, 2018 Share Posted October 31, 2018 Here you go ! (: TestGridSorting.7z Quote Link to comment Share on other sites More sharing options...
M477H13U Posted November 6, 2018 Share Posted November 6, 2018 Hello, any news on that matter ? Regards, M477H13U Quote Link to comment Share on other sites More sharing options...
alesf76 Posted November 13, 2018 Share Posted November 13, 2018 On 1/20/2016 at 6:19 PM, mhmda said: Hi, As default behavior of dbgrid is performing sorting in server side, but sometimes you fetch all data into grid (no paging) and the data is already in client, so why return to server to sort data !! Do the sort in client side: 1. Disable remoteSort (store): 2. Set 'click' event on column header and do sorting: Hope this will help you :-) It works, but it doesn't handle toggling between ascending/descending. How can it be done ? Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted November 27, 2018 Share Posted November 27, 2018 Hello, how do Turkish character sort? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted June 27, 2019 Share Posted June 27, 2019 Este código parou de funcionar na versão mais recente, alguém tem alguma idéia do que aconteceu? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted August 5, 2019 Share Posted August 5, 2019 Does support still work? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 5, 2019 Share Posted August 5, 2019 7 minutes ago, eduardosuruagy said: Does support still work? I think you may use server-side sorting. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted August 5, 2019 Share Posted August 5, 2019 Ok Quote Link to comment Share on other sites More sharing options...
Mischa Posted September 4, 2019 Share Posted September 4, 2019 Hello, instead of code or a screenshot I just see "s1.png" as a picture in first post (and all other referring to this). What is going wrong? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 5, 2019 Share Posted September 5, 2019 On 9/4/2019 at 1:30 PM, Mischa said: instead of code or a screenshot I just see "s1.png" as a picture in first post (and all other referring to this). What is going wrong? Hello, These screenshots were located on another external server. They were probably deleted or moved. Quote Link to comment Share on other sites More sharing options...
Mischa Posted September 5, 2019 Share Posted September 5, 2019 Ok, thanks for the information. But of cause I am interested in the solution ... I need to sort a TUniStringGrid. Perhaps someone can help. Would be great. Quote Link to comment Share on other sites More sharing options...
t4ufiq Posted January 23, 2020 Share Posted January 23, 2020 need this solution too... could someone fix the image..! Quote Link to comment Share on other sites More sharing options...
OUMLIKE Posted June 25, 2021 Share Posted June 25, 2021 Hi Me too I need this solution, it is better to sort on the client side. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 25, 2021 Share Posted June 25, 2021 27 minutes ago, OUMLIKE said: Me too I need this solution, it is better to sort on the client side. Hello, Can you please specify which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
khuemmeler Posted September 28, 2022 Share Posted September 28, 2022 @Sherzod Hi, all downloads are not available and all examples (in the installation directory\demo) refer to unidbgrid. I need an example for up/down sorting for all columns of an unistringgrid. I use official registered version UniGui - 1.90.0.1554 Any help appreciated! Thanks in advance! Klaus Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 28, 2022 Share Posted September 28, 2022 Hello @khuemmeler 1 hour ago, khuemmeler said: I use official registered version UniGui - 1.90.0.1554 Please adjust your forum email address first: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.