Column Hide from List but not from Extended Search

i want to hide a column from the list but want to appear in Extended Search Criteria.How is it possible ?Thanks in advance.

I am not sure whether this is the limitation of the Extended Search. In other words, you have to always give a check mark at the List column whenever you want to include the field in the Extended Search. So, if you want to obviously hide the field in the List page, then simply write your code in the Page_DataRendering server event.// For example:
$this->yourfieldname->Visible = FALSE;Sincerely,
Masino Sinaga

i applied it in Page_DataRendering but no effect.I applied it in row_rendered then it is OK but the same pattern i also applied in a detail table
but it only hiding the data rows not the columns.Please help.

shahparz wrote:
I applied it in row_rendered then it is OK but the same pattern i also applied in
a detail table but it only hiding the data rows not the columns.That is exactly why you cannot use Row_Rendered. Page_DataRendering works as long as you are using v9.

Then how it is possible to hide the complete column for Version 8.0.3.Please help.

If you are talking about hiding a field column in List page, Row_Rendered event would not work in v8 either. And v8 had been phrased out. If you are using v9, use the correct event as suggested.

I agree with the suggestion Webmaster said. I encountered the same problem whenever I was using v8.0.3. Fortunately, after upgrading to the latest version (9.2.0), then I could hide a column from the List very easy by simply using “Page_DataRendering” server event.// For example:
$this->yourfieldname->Visible = FALSE;Sincerely,
Masino Sinaga

when i use $this->xxxxx->Visible = FALSE; in Vers. 7 in page_load server event, then i get an error “Warning: Creating default object from empty value in …”
And the field are shown. What I’m doing wrong?

You cannot use “$this->field” in Page object of v7. (v7 had been phrased out.)

ok, how can I do this with v7 without changing template?

If Someone searched for it like i did in 2019.for v2019 version, you can use : Server Event → List Page → Page Load$this->ColumnName->Visible = FALSE;this will hide both extended search and column from the table.Hope it helps others.

If you want to KEEP displaying it in Extended Search, but you want to hide it from the table in List Page, then simply remove your code in “Page_Load” server event, and put this code only in “Page_DataRendering” server event:

$this->ColumnName->Visible = FALSE;