M477H13U Posted September 18, 2018 Posted September 18, 2018 Hello Sherzod! you can find the testCase bellow ! Can't wait to read your reaction ! (: Regards, TestGridSorting.7z Quote
Sherzod Posted September 18, 2018 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
M477H13U Posted September 20, 2018 Posted September 20, 2018 Okay, then what do you suggest ? (: Quote
M477H13U Posted October 23, 2018 Posted October 23, 2018 Hello there ! Any news on that matter ? Regards, Quote
M477H13U Posted October 31, 2018 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
Sherzod Posted October 31, 2018 Posted October 31, 2018 Hello, Can you make a simple testcase for this ?! Quote
M477H13U Posted November 6, 2018 Posted November 6, 2018 Hello, any news on that matter ? Regards, M477H13U Quote
alesf76 Posted November 13, 2018 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
mehmet07 Posted November 27, 2018 Posted November 27, 2018 Hello, how do Turkish character sort? Quote
eduardosuruagy Posted June 27, 2019 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
Sherzod Posted August 5, 2019 Posted August 5, 2019 7 minutes ago, eduardosuruagy said: Does support still work? I think you may use server-side sorting. Quote
Mischa Posted September 4, 2019 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
Sherzod Posted September 5, 2019 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
Mischa Posted September 5, 2019 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
t4ufiq Posted January 23, 2020 Posted January 23, 2020 need this solution too... could someone fix the image..! Quote
OUMLIKE Posted June 25, 2021 Posted June 25, 2021 Hi Me too I need this solution, it is better to sort on the client side. Quote
Sherzod Posted June 25, 2021 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
khuemmeler Posted September 28, 2022 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
Sherzod Posted September 28, 2022 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
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.