I’m trying to do the following:
When you update the value of a field; If this has the value ‘X’ it will block the next two cells from being updated.
If you update the value to ‘Y’ it will allow you to edit the other two cells.
(On default, the field will have the ‘Y’ value)
What I have at the moment is not working properly because I need to refresh the page after the update for the conditions (block/unblock) to go through.
I have sent you a mail with the code.
Let me know if you need more info or anything else.
Many thanks, Alberto.
This idea is taken from this faq: http://www.phpgrid.org/faqs/#80
Abu Ghufran - Dev Team
PHP Grid Framework
Hello Abu, the code in demo works fine, but with date controls the data cell turns disabled, but the button that show the calendar object keep enabled and this can modify the date data…..
thanks a lot
Instead of disabling, you can completely hide() that row and show() otherwise.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!