Page 1 of 1
Filter by field that is not listed
Posted: Fri Feb 16, 2018 10:22 pm
by planet-fisherman
Hi there,
just a quick question: In list page. Can I use extended filter on a field that is not listed? As soon a I untick "List" for a given field the extended filter input field is not being generated any more.
In case of a "="-Filter all the results show are (at least in the particular field) identical with the filter.
Does that make sense?
Re: Filter by field that is not listed
Posted: Sat Feb 17, 2018 12:39 am
by mobhar
For such case, then you have to keep the "List" is ticked, afterwards, put the following code in "Page_DataRendering" server event that belongs to the List Page:
$this->YourFieldName->Visible = FALSE; // adjust "YourFieldName" to your actual field name
Re: Filter by field that is not listed
Posted: Tue Feb 20, 2018 3:47 pm
by planet-fisherman
Worked perfectly. Thanks for the help.