I'm using a single sfGrid Component twice. In one case, I want the entire list to show. In the second case, I want to pass (as a parameter on the component) a simple string to filter by. The second case works. I get the grid with the items that match the filter condition. Unfortunately the first case now shows a blank grid. I assume this is because I don't want to pass it a filter.
I could programmatically turn AllowFiltering to false in that case, but then the filter bar won't show in that rendering.
Is there an Operator to show all?
Here is the markup for that portion of the component:
<GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true" Mode="EditMode.Normal"></GridEditSettings>
<GridEvents RowSelected="RowSelected" OnActionComplete="ActionCompleteHandler" TValue="Execution"></GridEvents>
<GridFilterSettings>
<GridFilterColumns>
<GridFilterColumn Field = "Symbol" MatchCase="false" Operator = "Operator.StartsWith" Predicate = "and" Value = "@StockToShow" ></GridFilterColumn>
</GridFilterColumns>
</GridFilterSettings>