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
1075
igEditor is missing from v15.2 and v16.1 - where is it?
posted

I am in the process of migrating a few of our applications from v14.2 to v16.1.  One of the biggest breaking changes is the base igEditor control is missing:

http://www.igniteui.com/help/api/2015.1/ui.igeditor.html (available)

http://www.igniteui.com/help/api/2015.2/ui.igeditor.html (missing)

http://www.igniteui.com/help/api/2016.1/ui.igeditor.html (missing)

I see in 15.2 that all of the editors were overhauled.  More details can be listed here:  http://www.igniteui.com/help/whats-new-in-2015-volume2#new-editors

We dynamically iterate through all editors on the grid to provide extended functionality.  In the past I would be able to simply say

$(.selector).on("iggridupdatingeditcellstarting", function (e, ui) {

  var editor = $(ui.editor).data("igeditor");


  if (!editor) {

    editor = $(ui.editor).data("igCombo");

  }

  // EDITOR IS NULL!

};


Now I have to interrogate every possible editor to figure out which type it is!  I need to subscribe to key up events.

igEditors:

  We used to use the "igeditorkeyup" event.

  $(editor).on("igeditorkeyup", function (){}});

igCombo:

  We used to use to subscribe the "keyup" event on the $(editor).fieldElem element.

  $(editor.fieldElem).on("keyup", function (){})};

How do I do this in a generic fashion with the new set of editor controls?