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
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.
Hi Jose,
I recieve the same error when in 'iggridupdatingeditcellended' calling setCellValue and then pressing Tab-Key.
$("#Grid").on("iggridupdatingeditcellended", function (evt, ui) {
if (ui.update) {
$("#Grid").igGridUpdating("setCellValue", ui.rowID, "columnKey", 0);
}
Thanks,
Andrew
Hi Antonio and Andrew,
May I ask what you are trying to achieve with the removal of the elements we add to the cell (<td>) element and replacing them with a (<div>)? Please update me with more details so that I can provide you with an approach for achieving what you want.
I am looking forward to your update.
Please note, this error occurs after using the html() method in the editRowStarted event to add a div element to the corresponding cell. Please note, you are replacing the markup that is already in the cell with this approach. Please update me with more details more details regarding what you're attempting to achieve with the igGrid in this event and I will be happy to assist you further.
Please note, currently it appears to me that you're attempting to add a elements to the column, and should be able to achieve this with a column template. To learn more about column templates, please review the API documentation linked below:http://help.infragistics.com/jQuery/2014.1/ui.iggrid#options:columns.template
Hi Andrew,
I am not able to reproduce this error when using the code you've provided. Please update this thread with a sample that I can use to reproduce this issue and I will be happy to assist you further.
I'm looking forward to your update.