In grid I want to add a column for Serial Number that having incremented value.
How to do that . Please help.
You can set incremented serial no, using on_insert event.
In on_insert callback function, you can run a select query to fetch max serial number and set it incremented for insert.
I am new to PHPGrid. The refer link is blank and having no code. I don't want to insert any thing in the database. Just want to show the serial number of each row.
I have show the serial number against each row by setting
but this is not the solution of my problem of adding new column of having incremented value.
Please send the code of same.
The custom events are supported in full version.
If you are planning to achieve it in free, you can refer this link and generate artificial sno. with sql.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?