Flexsheet checkbox selection issue

Posted by: sattur.sameer on 8 November 2017, 10:47 pm EST

    • Post Options:
    • Link

    Posted 8 November 2017, 10:47 pm EST

    Hi,

    We are using flexsheet in Angular2. We have added a column having checkbox. Whenever we click on any other cell in the same row, the checkbox gets unchecked. Kindly provide a solution to retain the checkbox selection until its unchecked manually.

    Thanks,

    Sameer

  • Posted 9 November 2017, 11:33 pm EST

    Hi Sameer,

    You can add a boolean property for each record that will add checkbox in FlexSheet and it will prevent checkbox.

    Could you please share how you are adding checkbox in FlexSheet? You should be used itemFormatter/formatItem. We would like to check code for adding checkbox in FlexSheet.

    ~Manish

  • Posted 12 November 2017, 4:49 pm EST

    Hi Manish,

    I am able to get the checkbox in flexsheet by setting the datatype as boolean in itemFormatter.

    But now I am neither able to get the state of that checkbox nor able to trigger any event on that.

    I am using Angular 2 in my project.

    Can you please provide any fiddle to do so?

  • Posted 13 November 2017, 5:52 pm EST

    Hi,

    You can get the checkbox state by handling mousedown event. Please refer to the sample for the same.

    ~Manish

    FlexSheet_checkbox_selectionRows.zip

  • Posted 29 November 2017, 3:28 pm EST

    Thanks Manish

Need extra support?

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

Learn More

Forum Channels