Multiple Checkbox selection

Posted by: aamirzia.charan on 17 May 2019, 4:58 pm EST

  • Posted 17 May 2019, 4:58 pm EST

    We are using farpoint in vb6, we have created a cell with CheckboxCelltype a column is representing dates. Currently a user can check as many boxes as they like, but they need to check one at a time. Does farpoint Spread allow for multiple checkbox selections at one time either by using a key combination or mouse? I've looked around and tried various things but no success so far, please help regarding this.

    I know we have to run loop in spread but how it will done ?
    We need records of only true conditions which in spread.

  • Replied 20 May 2019, 10:39 pm EST


    Yes, you are right , there is no direct way to handle checkbox click. You need to loop through each checkbox and check it's value. I have created a sample application to achieve what you are looking for. Please refer to the attachment.

    Deepak Sharma
  • Replied 21 May 2019, 3:53 pm EST

    Hello Deepak,

    Thanks for your kind response, your referred sample application is very helpful for me.
    But i have another query regarding selection, if we select multiple checkbox how do I get all selected values. For your reference i have attached sample application.

  • Marked as Answer

    Replied 21 May 2019, 8:04 pm EST

    Hi Aamir,

    You would need to loop through the rows and check if the checkbox is clicked or not by checking the cell value. Then if the value is true, you can add it to an array and then show this array in the textbox.

    Please refer to the attached sample application.

    Deepak Sharma
  • Replied 21 May 2019, 9:49 pm EST

    Thanks Dear Deepak,
    attached file is working for me, thanks for your quick response.

Need extra support?

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

Learn More

Forum Channels