Is it possible to make a grid.setFilter in a hidden column?
Thank
Is it possible to make a grid.setFilter in a hidden column?
-
- Profound User
- Posts: 39
- Joined: Mon Aug 21, 2017 11:48 am
- First Name: Jose
- Last Name: hernandez Guerra
- Company Name: CM de gestion y servicios S.L.
- Phone: 638489712
- Address 1: CL Jose Luis de Cassos 50
- City: Sevilla
- State / Province: Outside Canada/USA
- Zip / Postal Code: 41005
- Country: Spain
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Is it possible to make a grid.setFilter in a hidden column?
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?
-
- Profound User
- Posts: 39
- Joined: Mon Aug 21, 2017 11:48 am
- First Name: Jose
- Last Name: hernandez Guerra
- Company Name: CM de gestion y servicios S.L.
- Phone: 638489712
- Address 1: CL Jose Luis de Cassos 50
- City: Sevilla
- State / Province: Outside Canada/USA
- Zip / Postal Code: 41005
- Country: Spain
- Contact:
Re: Is it possible to make a grid.setFilter in a hidden column?
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
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
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Is it possible to make a grid.setFilter in a hidden column?
Sorry, I just don't understand why you would want to do this.
-
- Experienced User
- Posts: 122
- Joined: Tue May 22, 2012 6:45 am
- First Name: Dieter
- Last Name: Schröder
- Company Name: Ecclesia Holding GmbH
- State / Province: Outside Canada/USA
- Country: Germany
- Contact:
Re: Is it possible to make a grid.setFilter in a hidden column?
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
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
-
- Profound User
- Posts: 39
- Joined: Mon Aug 21, 2017 11:48 am
- First Name: Jose
- Last Name: hernandez Guerra
- Company Name: CM de gestion y servicios S.L.
- Phone: 638489712
- Address 1: CL Jose Luis de Cassos 50
- City: Sevilla
- State / Province: Outside Canada/USA
- Zip / Postal Code: 41005
- Country: Spain
- Contact:
Re: Is it possible to make a grid.setFilter in a hidden column?
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
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
-
- Experienced User
- Posts: 122
- Joined: Tue May 22, 2012 6:45 am
- First Name: Dieter
- Last Name: Schröder
- Company Name: Ecclesia Holding GmbH
- State / Province: Outside Canada/USA
- Country: Germany
- Contact:
Re: Is it possible to make a grid.setFilter in a hidden column?
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
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
-
- Profound User
- Posts: 39
- Joined: Mon Aug 21, 2017 11:48 am
- First Name: Jose
- Last Name: hernandez Guerra
- Company Name: CM de gestion y servicios S.L.
- Phone: 638489712
- Address 1: CL Jose Luis de Cassos 50
- City: Sevilla
- State / Province: Outside Canada/USA
- Zip / Postal Code: 41005
- Country: Spain
- Contact:
Re: Is it possible to make a grid.setFilter in a hidden column?
great thank you very much, and about the language we are already two. jajajjj....
Who is online
Users browsing this forum: No registered users and 6 guests