How do you disable selection records in grid? I can not find anything that explains how to do, thanks
There is no option to disable the row selection and highlighting. If you want to disable operation on grid and make it readonly you can do it with following settings.
Refer add,edit,delete,rowactions params to false will make grid readonly.
"add"=>false, // allow/disallow add
"edit"=>false, // allow/disallow edit
"delete"=>false, // allow/disallow delete
"rowactions"=>false, // show/hide row wise edit/del/save option
"export"=>true, // show/hide export to excel option
"autofilter" => true, // show/hide autofilter for search
"search" => "simple", // show single/multi field search condition (e.g. simple or advance)
"showhidecolumns" => false // show single/multi field search condition (e.g. simple or advance)
Did you meant the same, or something different ?
The first column must be unique, in order to work properly. You can make it hidden in grid if you wish. See `hidden` property in later section for more.
my problem is that after changing my code I can not select individual rows and then edit.
How to validate the row in phpgrid when clicking Add new row(+ symbol) button, which coding page i have to refer?
When clicking + symbol am getting list of field for inserting records in the grid. I want to validate the records before inserting them in the grid
Kindly reply me..
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?