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
2165
FormatterFunction fired at the wrong time
posted

I have followed the example at (http://www.igniteui.com/grid/basic-editing) and made my own test, but the formatter is fired before the lookup array is filled with data, that's why I receive the error:

Uncaught TypeError: Cannot read property 'Text' of undefined

How to make the formatter to fire at the right time? Attached is the html version and razor version too.

testing.rar
Parents
No Data
Reply
  • 16310
    Offline posted

    Hello Luis,

    Thank you for posting in the Infragistics community !

    You can just move the code inside the formatter function. However I rewritten your code with a more consistent one. Please see the modified sample and let me know if it works for you.

    FormatterFunction_v2.zip
Children