Custom Editor and Cell Templating

Originally Posted 6 September 2017, 9:02 am EST

  • Originally Posted 6 September 2017, 9:02 am EST

    Hello,

    We are trying to implement Custom cell editor and we found this solution. But we are not able to find equivalent event for beforeCellEdit and afterCellEdit in here.

    We are using Wijmo 5.20172.334 version with Angular 2. Please let me know if i am missing something here.

    Thanks




  • Reply

    Hello Nilesh,
    The solution you referred is for Wijmo 3 gridview widget. The documentation and controls you are using are for Wijmo 5 control.
    You can add custom cell editor using wjFlexGridCellTemplate. For reference, please refer to the following demo sample:
    http://demos.wijmo.com/5/Angular2/CellTemplateIntro/CellTemplateIntro/

    However, if you would like to add editor using code, you need to create custom editor using formatItem event. For your reference, please refer to the attached sample for the same.

    Thanks,
    Manish Kumar Gupta
    2017/09/FlexGrid_customEditor_TS-1.zip
  • Reply

    Hello Manish,

    Thanks for quick response. We tried both solution with template as well as with code but somehow we are not able to implement it.

    1) We are already currently using