Hi Abdul,
Thank you for the additional information. Disabling selection(including when using methods) is the expected behavior of the grid, but there are still some ways to achieve your functionality:
If possible, you can use a local version of jqxgrid.selection.js and modify the if clause you shared above.
If this is not possible, please have a look at the example here: https://jsfiddle.net/zu20dkny/
In the demo grid, selection is only possible through methods by modifying the allowSelect
variable.
I hope this was of help!
If you have any other questions, please do not hesitate to contact us again.
Best regards,
Ivan Peevski
jQWidgets Team
https://www.jqwidgets.com/