Flexsheet checkbox selection issue

Posted by: sattur.sameer on 9 November 2017, 7:47 am EST

    • Post Options:
    • Link

    Posted 9 November 2017, 7:47 am 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 10 November 2017, 8:33 am 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 13 November 2017, 1:49 am 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 14 November 2017, 2:52 am 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 30 November 2017, 12:28 am 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