Get KoolPHP UI with 30% OFF!

Using a row checkbox in grid to update database without need for the edit button

Paul
I have a database field with possible values of 0 and 1. Is there a way to update the database by checking/unchecking a checkbox in the grid row rather than having to click edit, change the value, and click save?
Posted May 25, 2016 Kool
Paul
A think a better way for me is to use the GridCommandColumn(); button with OnClick function to update the database and toggle the button text.
I'll look around for some examples.
Posted May 27, 2016 Kool
Anthony Amolochitis
1. Create a php file to execute that one value.
2. Onclick execute that php script via ajax.
That is it. You can use your koolajax object, jquery, or traditional ajax object in w3schools.
Posted Jun 1, 2016 Kool