![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Fri, Oct 21 2016 2:22 PM | Permanent Link |
Luk | Hi,
I want to add a filter to the TGrid. Would this be a good idea: - copy original dataset to a filter dataset - loop the filter dataset and remove rows that don't fit the criteria - assign this filter dataset to the TGrid. Or is there an easier way to do this ? Possible to hide rows ? Thanks, Luk |
Fri, Oct 21 2016 5:37 PM | Permanent Link |
Bruno Larochelle | hi Luk
if you use a 'Tdataset' and configure it as a query.. you can then filter it that way, and re-load the dataset at runtime. To do that, you want a parameterized query. EWB files quite helpful on this, or ask for more help if need be. .. Bruno Luk wrote: Hi, I want to add a filter to the TGrid. Would this be a good idea: - copy original dataset to a filter dataset - loop the filter dataset and remove rows that don't fit the criteria - assign this filter dataset to the TGrid. Or is there an easier way to do this ? Possible to hide rows ? Thanks, Luk Bruno Larochelle Logiciels Bitwise Software Edmonton, AB, Canada |
Mon, Oct 24 2016 9:42 AM | Permanent Link |
Luk | Thanks, that works fine.
But applying a filter without asking the server to do the filtering would be a nice option to have. ![]() |
Mon, Oct 24 2016 9:57 AM | Permanent Link |
Bruno Larochelle | right.. I started to realize that upon further thought.. that you did not want to reload
short of having a 'filter' property on the dataset, one could load the dataset information which meets the criteria into a TObjectList.. and then load that into the grid. which sort of goes back to what you were thinking in the first place ![]() Luk wrote: Thanks, that works fine. But applying a filter without asking the server to do the filtering would be a nice option to have. ![]() Bruno Larochelle Logiciels Bitwise Software Edmonton, AB, Canada |
This web page was last updated on Wednesday, November 29, 2023 at 09:43 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |