Hi Scott,
Greetings from Syncfusion Support.
Query 1: when you enter the value 3 in the filter for the task name column, no results are returned
By default the filter operator for the TaskName column is
startswith. Due to this when we enter the value 3 it returns no result. We can change the default filter operator by extending Filter property in the column. Kindly refer the below code example, here we have changed the default operator for TaskName
column as contains from startswith
@{
var Filtering = new
{@@operator = "contains"
};
}
<EjsTreeGrid DataSource="@TreeGridData" AllowFiltering="true" ……..>
…………..
<TreeGridColumns>
………….
<TreeGridColumn Field="TaskName" HeaderText="Task Name" Width="160" Filter="@Filtering"></TreeGridColumn>
……………..
</TreeGridColumns>
</EjsTreeGrid>
|
Refer the below Help Documentation link,
Query 2: when you click the X to cancel the filter, the filter value is cleared but the grid is still filtering
In filterbar, once when we clicked the X mark to cancel the filter we need to press the Enter key to cleared the filter value from the grid which is the default behavior.
Kindly get back to us, if you need further assistance. We will be happy to assist you.
Regards,
Manivannan Padmanaban.