UniterYazilim Posted January 17, 2019 Share Posted January 17, 2019 Hello there, I want to do line-based filtering in UniDBGrid. The following image shows an example made with Ext.Grid. How can I do this in UniGui? Thanks. Best regards. Ext.Grid Example: https://docs.sencha.com/extjs/6.0.0/classic/Ext.grid.filters.filter.List.html Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 18, 2019 Share Posted January 18, 2019 Hello Please check attached sample application. Available values for Filter = "boolean,date,list,number,string" CustomDBGrid.rar 2 Quote Link to comment Share on other sites More sharing options...
UniterYazilim Posted January 19, 2019 Author Share Posted January 19, 2019 thank you so much @Hayri ASLAN you are very good inheritance! I want this feature to come by default in the future UniGui @Farshad Mohajeri. 1 Quote Link to comment Share on other sites More sharing options...
multimesut Posted January 21, 2019 Share Posted January 21, 2019 Merhaba @Hayri ASLAN bu Filter değişkenini columns properties kısmında göstermenin bir yolu var mı? Quote Link to comment Share on other sites More sharing options...
Gauravg Posted August 12, 2020 Share Posted August 12, 2020 On 1/18/2019 at 6:31 PM, Hayri ASLAN said: Hello Please check attached sample application. Available values for Filter = "boolean,date,list,number,string" CustomDBGrid.rar Hi, Can you please share the sample application? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 12, 2020 Share Posted August 12, 2020 28 minutes ago, Gauravg said: Can you please share the sample application? Hello, Sorry, are you still using the trial version? Quote Link to comment Share on other sites More sharing options...
x11 Posted August 12, 2020 Share Posted August 12, 2020 when i open the project: TuniFilerDBGrid not found Quote Link to comment Share on other sites More sharing options...
x11 Posted August 12, 2020 Share Posted August 12, 2020 if blank Quote Link to comment Share on other sites More sharing options...
x11 Posted August 12, 2020 Share Posted August 12, 2020 On 1/19/2019 at 1:28 PM, UniterYazilim said: I want this feature to come by default in the future UniGui +1 Quote Link to comment Share on other sites More sharing options...
rgreat Posted August 12, 2020 Share Posted August 12, 2020 Yes, but it needs to be upgraded with text search box for values and limitation of menu subitems. Also 'mark all' and 'unmark all' menu items. In current state it is not really user friendly. But still. Good job. And thanks for sharing. 1 Quote Link to comment Share on other sites More sharing options...
Gauravg Posted August 19, 2020 Share Posted August 19, 2020 On 8/12/2020 at 1:50 PM, Sherzod said: Hello, Sorry, are you still using the trial version? No. i am using licensed version of Delphi. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 19, 2020 Share Posted August 19, 2020 7 minutes ago, Gauravg said: No. i am using licensed version of Delphi. Hello, I meant the UniGUI version... Quote Link to comment Share on other sites More sharing options...
x11 Posted August 19, 2020 Share Posted August 19, 2020 On 8/12/2020 at 4:11 PM, x11 said: when i open the project: TuniFilerDBGrid not found up Delphi 10.3, uniGUI 1.90.0.1534 Quote Link to comment Share on other sites More sharing options...
Gauravg Posted August 19, 2020 Share Posted August 19, 2020 44 minutes ago, Sherzod said: Hello, I meant the UniGUI version... Hello, I am using Delphi 10.2 and UniGui version 1.90.0 build 153. Quote Link to comment Share on other sites More sharing options...
x11 Posted October 1, 2020 Share Posted October 1, 2020 Please tell me. Why are there no filters in the grid? thank you procedure TfmMainForm.UniFormCreate(Sender: TObject); begin CreateFilterDBGToday; end; procedure TfmMainForm.CreateFilterDBGToday; var i:integer; FieldType: TFieldType; Column: TUniDBGridColumn; begin // dbgToday is a TUniDBGrid dbgToday.JSInterface.JSConfigPlugin('Ext.grid.filters.Filters', ['id', 'gridFilters']); for i := 0 to Pred(dbgToday.Columns.Count) do begin Column := dbgToday.Columns[i]; Column.Filtering.Enabled := True; Column.Sortable := True; FieldType := dbgToday.DataSource.DataSet.FindField(Column.FieldName).DataType; case FieldType of ftString : dbgToday.JSInterface.JSConfig('filter', ['string'], Column.JSColumn); ftDate, ftDateTime: dbgToday.JSInterface.JSConfig('filter', ['date'], Column.JSColumn); ftInteger, ftFloat: dbgToday.JSInterface.JSConfig('filter', ['number'], Column.JSColumn); ftBoolean : dbgToday.JSInterface.JSConfig('filter', ['boolean'], Column.JSColumn); else dbgToday.JSInterface.JSConfig('filter', ['list'], Column.JSColumn); end;// case end;// for // Available values for Filter = "boolean,date,list,number,string" // http://forums.unigui.com/index.php?/topic/11857-grid-filters-list/&do=findComment&comment=63164 end; Quote Link to comment Share on other sites More sharing options...
x11 Posted January 13, 2021 Share Posted January 13, 2021 Уважаемые разработчики, почему вы не хотите сделать, чтобы компонента uniDBGrid поддерживала эти фильтры? Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2021 Share Posted January 19, 2021 On 1/17/2019 at 10:01 AM, UniterYazilim said: I want to do line-based filtering in UniDBGrid. but how to do this in the mobile grid - unimDBGrid? Quote Link to comment Share on other sites More sharing options...
x11 Posted February 27, 2021 Share Posted February 27, 2021 On 1/18/2019 at 7:31 PM, Hayri ASLAN said: Please check attached sample application. summary not working Quote Link to comment Share on other sites More sharing options...
unicasoft Posted March 7, 2021 Share Posted March 7, 2021 On 1/18/2019 at 8:31 PM, Hayri ASLAN said: Hello Please check attached sample application. Available values for Filter = "boolean,date,list,number,string" CustomDBGrid.rarUnavailable Files not found. Quote Link to comment Share on other sites More sharing options...
MSMK Posted October 4, 2021 Share Posted October 4, 2021 On 10/1/2020 at 4:54 PM, x11 said: Please tell me. Why are there no filters in the grid? thank you procedure TfmMainForm.UniFormCreate(Sender: TObject); begin CreateFilterDBGToday; end; procedure TfmMainForm.CreateFilterDBGToday; var i:integer; FieldType: TFieldType; Column: TUniDBGridColumn; begin // dbgToday is a TUniDBGrid dbgToday.JSInterface.JSConfigPlugin('Ext.grid.filters.Filters', ['id', 'gridFilters']); for i := 0 to Pred(dbgToday.Columns.Count) do begin Column := dbgToday.Columns[i]; Column.Filtering.Enabled := True; Column.Sortable := True; FieldType := dbgToday.DataSource.DataSet.FindField(Column.FieldName).DataType; case FieldType of ftString : dbgToday.JSInterface.JSConfig('filter', ['string'], Column.JSColumn); ftDate, ftDateTime: dbgToday.JSInterface.JSConfig('filter', ['date'], Column.JSColumn); ftInteger, ftFloat: dbgToday.JSInterface.JSConfig('filter', ['number'], Column.JSColumn); ftBoolean : dbgToday.JSInterface.JSConfig('filter', ['boolean'], Column.JSColumn); else dbgToday.JSInterface.JSConfig('filter', ['list'], Column.JSColumn); end;// case end;// for // Available values for Filter = "boolean,date,list,number,string" // http://forums.unigui.com/index.php?/topic/11857-grid-filters-list/&do=findComment&comment=63164 end; Доброе время суток! Разобрались с этим вопросом? Меня в частности волнует локализация фраз Filters и прочие фразы? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 4, 2021 Share Posted October 4, 2021 6 minutes ago, =GGG= said: Меня в частности волнует локализация фраз Filters Quote Link to comment Share on other sites More sharing options...
x11 Posted October 4, 2021 Share Posted October 4, 2021 Не помню уже. Насколько я понял, локализация зашита в extJS. Quote Link to comment Share on other sites More sharing options...
x11 Posted October 4, 2021 Share Posted October 4, 2021 А "Столбцы", "Сортировать.... ? Quote Link to comment Share on other sites More sharing options...
MSMK Posted October 5, 2021 Share Posted October 5, 2021 14 hours ago, Sherzod said: спасибо! Quote Link to comment Share on other sites More sharing options...
MSMK Posted October 5, 2021 Share Posted October 5, 2021 14 hours ago, x11 said: А "Столбцы", "Сортировать.... ? Спасибо! 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.