We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

OK Button in Filter form on SfDatagrid

syncfusion.png


Hi, is there a way NOT to have disabled the OK Button in SfDataGrid Filter form when the user types a string that does not match any value in the column?
I'd like, in fact, the OK button is always enabled, also in these cases, so that I can add other records to the current Datasource querying the database in "FilterChanged" event method.

But, if the button is automatically disabled in these case, I can't implement this query.

Thank you in advance,


Silvio


1 Reply

SP Sreemon Premkumar Muthukrishnan Syncfusion Team May 1, 2023 02:40 PM UTC

Hi Silvio,


We regret to inform you that the enabling and disabling of the Ok button was decided based on the number of data counts in the CheckboxFilterControl. So we cannot able to enable Ok button when searching for the value which is not in the ItemSource. But after searching the value which is not in the ItemSource, you can execute the FilterChanged event by pressing the Enter key. 


Regards,

Sreemon Premkumar M.


Loader.
Live Chat Icon For mobile
Up arrow icon