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
140
Done button not getting enabled when editing cell
posted

I am using igniteUI grid 2012.2 . I wanted to make some cells readonly in some rows conditionally. I used the the event "editCellStarting" and returned false based on the column and condtion. It made the cells readonly as I wanted. But noticed, after adding the event code, the "Done" button is not consistenly getting enabled on editing other ediable cells. Attached is the grid definition along with the event code. Is it a bug? Is there any workarond? Please help.

Parents
No Data
Reply
  • 23953
    Offline posted

    Hello Benny,

    The problem comes from the "MacId" column which has a mask editor. You configured the input mask for the editor to be "AA:AA:AA:AA:AA:AA". This means that this field should always be filled with the correct values ("A" mask symbol denotes a required character). Moreover you set this field to be also required. This combination prevents the Done button to enable itself because the igMaskEditor.isValid API used by the igGridUpdating in most cases returns true.

    To overcome this issue you can set the "MacId" editor input mask  to be "aa:aa:aa:aa:aa:aa".

    Hope this helps,

    Martin Pavlov
    Infragistics, Inc.

Children