Hi,
How do I set the visibility of the search row programatically please.? I know I can show it using ctrl F (Localization, does this change for chinese equivalent?) but we don't want to have users phoning us up for support if they click the close button and they don't know about the ctrl F option.
At the moment I'm calling the following to force it to appear from a context menu option.
dataGrid.AllowSearchRow = false;
dataGrid.AllowSearchRow = true;
From finding a thread on the forum I can read the visibility by calling
var searchCell = dataGrid.TableElement.GetCellElement(dataGrid.MasterView.TableSearchRow, null) as GridSearchCellElement;
if (searchCell != null) return searchCell.Visibility != ElementVisibility.Hidden;
But if I set searchCell.Visibility then I'm still seeing the row that would hold the search controls, but the controls themselves are hidden.
thanks :)