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
135
Error: cannot call methods on igEditorFilter prior to initialization; attempted to call method 'remove'
posted

hello, help is needed its a matter of life and death 


Error: cannot call methods on igEditorFilter prior to initialization; attempted to call method 'remove'

can any one fix this problem i have attatched my code in it 

thank you for the help

Default.zip
Parents
No Data
Reply
  • 9190
    Offline posted

    Hi Antonio,

    Thank you for posting on our forums.

    When running your sample, I don't see this issue occurring until after I click on the addRow and attempt to add some data. Is this the issue you are referring to? Can you provide me with more details about what you are trying to achieve in the editRowStarted and editorRowEnded event? If you prevent your logic from firing for the addRow, this will prevent the issue from occurring:
    if (ui.rowID != -1) {
     grid = ui.owner.grid;
     innerHTML = $(grid.cellAt(3, ui.rowID)).html();
     $(grid.cellAt(3, ui.rowID)).html("<td><div id='btnUpload'></div></td>");
    }

    I look forward to your update.

Children