Issue with wijmo input getTemplate

Posted by: jonathan.levesque on 19 January 2023, 6:54 am EST

    • Post Options:
    • Link

    Posted 19 January 2023, 6:54 am EST - Updated 19 January 2023, 7:02 am EST

    Hello Wijmo Team,

    I’m currently trying to make a generic file for a flexgrid. For the inline editing I use the getTemplate that comes with the wjInput’s. But when inserting them has the cell innerhtml the input doesn’t work like it’s supposed to anymore.

    Has an example I’m using an input date, the dropdown/button won’t do anything when pressing on it.

    The images bellow are the generic code I’m using to do so.





    Thanks.

  • Posted 21 January 2023, 7:01 pm EST

    Hi,

    The way you are assigning the controls for Cell Editor is adding only HTML not the required script.

    To add the editor, get the data type for the column and provide an appropriate editor for the column.

    Please refer to the following sample for reference:

    https://jscodemine.grapecity.com/share/_k0ZMTAK3EmzYsR716YeZA/

    Hope it helps!

    Regards,

    Manish Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels