I'm working with JQGrid PHP version 4.4.0 where i must have a checkbox as one of the column for each row which specifies status of the row. The database are being retrieved from phpmyadmin thru json. For now i retrieve the status as active and inactive. I want to add a checkbox instead of showing active/inactive in status column. If the status is active. then by default the checkbox must be checked whereas if the status is inactive. then the checkbox must be unchecked. Whenever user clicks on the checkbox it must update the status on database too.
JQgrid checkbox onclick update database
I found this answer but i don't know the way to add in to my code.
Any help is much appreciated.. Thanks