Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
How to make a textbox readonly based on the condition in edit pop up in iggrid
posted

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?