Hi Donald,
Thanks for your interest in Syncfusion Products.
Query- 1 Enable OK Button If user enter the wrong entry in Filter Text Box
This is the default behavior. We are used Microsoft Excel behavior in our grid and we are unable to change this (" "OK" button is grayed out").
Query- 2 Pass Some Kind of Enumeration.
We are sorry for the inconvenience caused. We are unable to understand your requirement. Could you please give more information regarding your requirement? Such as what data you have passed to controller, what kind of enumeration you have passed to controller? So that we could able to analyze and provide you a better solution?
Please let us know if you need any further assistance.
Regards,
Satheeskumar S
We will not process with custom Filtering. We have set the values on the filters array in OnActionBegin, so the null values are passed FilterDescriptor on the post action. When we passing null FilterDescriptor on the GridAction it will display all the possible values in the filteringdialog on the grid. it will also work with custom filtering. Please refer the below code snippet.
[Index.cshtml]
<script type="text/javascript">
var temp;
function Begin(sender, args) {
if (args.requestType = "FilterChoiceRequest") {
temp = sender._filters;
sender._filters = [];
}
}
function Success(sender, args) {
if (args.RequestType = "FilterChoiceRequest") {
sender._filters = temp;
}
}
</script>
For your convenience, we have prepared a simple to demonstrate this and the same can be downloaded from the below link.
Sample: Filtering.zip
Please try the above sample, and if it does not meets your requirement, could you please provide more information on this so that we can provide a better solution quickly?.
Regards,
Maithiliy K
Hi Donald,
Thanks for your interest in Syncfusion Products.
Query- 1 Enable OK Button If user enter the wrong entry in Filter Text Box
This is the default behavior. We are used Microsoft Excel behavior in our grid and we are unable to change this (" "OK" button is grayed out").
Query- 2 Pass Some Kind of Enumeration.
We are sorry for the inconvenience caused. We are unable to understand your requirement. Could you please give more information regarding your requirement? Such as what data you have passed to controller, what kind of enumeration you have passed to controller? So that we could able to analyze and provide you a better solution?
Please let us know if you need any further assistance.
Regards,
Satheeskumar S