Hi Team,
In grid, while updating any record - primary key value should not be updated as per coding standards. So, we want to make a column readonly only when we are trying to update. We want the column value to be editable when we try to add a new record in the grid.
By the properties of ignite grid, if we mention “readonly: true”, it would be applicable for all scenarios. But we want it only in the case of updating and not while adding a new record.
Add should be like this –
And while editing, code value – “8” should be made readonly.
Can you help with the solution for this problem?
any update on the same.
Hello,
Above I have suggested a way to achieve your requirement. Please let me know if my previous post is not visible for you.
Looking forward to hearing from you.
Hi Vasya,
When we are trying the same thing in our code, we are getting error in lob.js file while click on the row for editing.
And also I do not want the use of angular.min.js file . Is it possible to achieve the same without angular ?
Hello Tapas,
I have run Vasya's sample and everything works as expected without errors. Can you provide me with a small isolated sample reproducing your issue?
You can safely remove the angular.min.js file.