|
//To get the FilterBarCellModel
GridTableFilterBarCellModel model =this.gridGroupingControl1.TableModel.CellModels["FilterBarCell"] asGridTableFilterBarCellModel;
//To set the custom text for "All"
model.SelectAllText = "CustomText"; |
|
Query |
Response |
|
1) I set SelectAllText to "*" in one Grid its ok, but this text also change in other Grid. It is normal ? |
The GridGroupingControl has the default support to change the “(All)” value in the FilterBarCell by using the SelectAllText property. You can change the value for each grid by retrieving the GridTableFilterBarCelModel and setting the custom string to the SelectAllText property.
From your update we suspect that, you are Creating CustomCellModel/Renderer to change the value of SelectAllText. If yes, we would recommend you to use the solution in our previous update since it is a feasible solution for your case.
Please let us know the way of changing the value of SelectAllText so that we could proceed further on this. |
|
Rows "Custom" and "Empty".
I turned of them but filter start working wrong, when I choosing row in filter then other was selected (next on the list).
When turn on them it is working right.
It is any dependence in this options ? |
As per our grid architecture, the selected value to filter the records will be retrieved from the items collection based on index. This is issue will occur when creating CustomCellModel and CustomRenderer to disable the “Custom” and “Empty” items from the dropdown which has been fixed in current trunk. Moreover, we have created a new support ticket under your account for better follow-up with the reported scenario. So, we request you to follow-up with that incident using below link.
|