You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature:
The current implementation of the GetRowsByValue method only checks for an exact match of the given value in a specific column. The feature request is to improve the method by allowing partial matches of the value in the column. This can be achieved by modifying the condition if(gridCell.Value == value) to:
Additionally, a new parameter strict should be added to the method to control whether the matching should be strict or not.
Workarounds:
Currently, there are no workarounds available for this feature as it is missing in the current implementation.
Additional context:
The suggested modification to the code will enable the GetRowsByValue method to locate items that have names that are partially contained in the given value. The new parameter strict will allow users to control whether the matching should be case-sensitive or case-insensitive. The updated method signature would be: public GridRow[] GetRowsByValue(int columnIndex, string value, int maxItems = 0, bool strict = true).
The text was updated successfully, but these errors were encountered:
Describe the feature:
The current implementation of the GetRowsByValue method only checks for an exact match of the given value in a specific column. The feature request is to improve the method by allowing partial matches of the value in the column. This can be achieved by modifying the condition if(gridCell.Value == value) to:
if ((!strict && gridCell.Value.ToLower().Contains(value.ToLower())) || (strict && gridCell.Value == value))
{
...
}
Additionally, a new parameter strict should be added to the method to control whether the matching should be strict or not.
Workarounds:
Currently, there are no workarounds available for this feature as it is missing in the current implementation.
Additional context:
The suggested modification to the code will enable the GetRowsByValue method to locate items that have names that are partially contained in the given value. The new parameter strict will allow users to control whether the matching should be case-sensitive or case-insensitive. The updated method signature would be:
public GridRow[] GetRowsByValue(int columnIndex, string value, int maxItems = 0, bool strict = true).
The text was updated successfully, but these errors were encountered: