Page 1 of 1

Is it possible to make a grid.setFilter in a hidden column?

Posted: Sat Jun 23, 2018 10:55 am
by Jose Manuel
Is it possible to make a grid.setFilter in a hidden column?
Thank

Re: Is it possible to make a grid.setFilter in a hidden column?

Posted: Mon Jun 25, 2018 11:43 am
by Scott Klement
Everything in a hidden column is already hidden, so it doesn't make sense to use a filter to decide what to show or hide. Can you explain better?

Re: Is it possible to make a grid.setFilter in a hidden column?

Posted: Mon Jun 25, 2018 3:04 pm
by Jose Manuel
If it could make sense, I want to apply a getObj ("XXX"). Grid.setFiler (1, YYYY);
if column 1 is visible no problem, but I do not want that column to appear.
If column 1 is hidden setFilter does not work.

Thank

Re: Is it possible to make a grid.setFilter in a hidden column?

Posted: Mon Jun 25, 2018 5:56 pm
by Scott Klement
Sorry, I just don't understand why you would want to do this.

Re: Is it possible to make a grid.setFilter in a hidden column?

Posted: Fri Jun 29, 2018 11:19 am
by dieter
I don't know, if this is what you want:

We have a column in our grid which has a normal (not invisible) field, which contains the filter data. To make the column invisible, we just set the column width of the column to zero.

Dieter

Re: Is it possible to make a grid.setFilter in a hidden column?

Posted: Sat Jun 30, 2018 2:49 am
by Jose Manuel
That is exactly what we have done, too. From what I understand
that it would be nice to be able to filter hidden fields. It's more I believe that all possible APIs should be applicable to hidden fields
Thank you very much Dieter

Re: Is it possible to make a grid.setFilter in a hidden column?

Posted: Mon Jul 02, 2018 8:10 am
by dieter
Hi Jose,
only a hint: What we do with our "hidden" column is to make filtering possible for all information in the subfile. Therefore we write a concatenated string into the field in the hidden column. This string contains all information of all columns. So we can apply the filter api on this single field. For the user it seems as he can filter alle columns with a single filter field.
For our "hidden" column we always use column number 0. So the filter api knows, in which column the filter is.

Sorry for my bad English but i fear my Spanish is even worse.

Dieter

Re: Is it possible to make a grid.setFilter in a hidden column?

Posted: Mon Jul 02, 2018 8:27 am
by Jose Manuel
great thank you very much, and about the language we are already two. jajajjj....