WijmoGrid based on Actions - more dropdown click need to update a column

Posted by: sneha.nagaruru on 19 November 2020, 8:14 pm EST

    • Post Options:
    • Link

    Posted 19 November 2020, 8:14 pm EST

    In the wijmoGrid I have Checkbox column, Actions column with more button dropdown contains a list of 10 items, Follow up column, country column.

    1. I have dropdown buttons ‘Follow up Flag’ and ‘Clear Follow up Flag’ based on click of ‘Follow up’ button dropdown I need to show an red flag icon in the Follow up column and remove the flag if ‘Clear Follow up Flag’ is clicked.
    2. based on country column values I need to disable/ enable Action item button dropdowns.

      Can you please help me to achieve this.
  • Posted 22 November 2020, 10:17 pm EST

    Hi Sneha,

    You may use the cellTemplates and formatItem functionality to achieve the required functionality. Please refer to the following demos and lets us know if you face any issues:

    https://www.grapecity.com/wijmo/demos/Grid/CustomCells/ConditionalStyling/purejs

    https://www.grapecity.com/wijmo/demos/Grid/CustomCells/CellTemplates/CommonTasks/purejs

    Regards

  • Posted 23 November 2020, 7:02 am EST

    Hi Sharad,

    Can you help me with this requirement - I have dropdown buttons ‘Follow up Flag’ and ‘Clear Follow up Flag’ based on click of ‘Follow up’ button dropdown I need to show an red flag icon in the Follow up column and remove the flag if ‘Clear Follow up Flag’ is clicked.

    I’m not aware of how get/set the item when a dropdown is clicked for a selected row data of a grid

  • Posted 24 November 2020, 12:10 am EST

    Please refer to the following sample which demonstrates updating cell value using a custom dropdown menu and let us know if you face any issues:

    https://codesandbox.io/s/wijmo-starter-forked-u0ejc?file=/src/index.js

  • Posted 26 November 2020, 10:33 pm EST

    Thank you, Sharad. It working as expected.

Need extra support?

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

Learn More

Forum Channels