binding data to a spread designer designed grid

Posted by: parez81-fp on 8 September 2017, 1:07 pm EST

  • Posted 8 September 2017, 1:07 pm EST

    hi all,

    I have grid which i have designed using spread designer the first  column is a  check box column(
    rows and header) second column is a unique number column and it is hidden.

    I want to assign a datasource to this grid.

    I use the following but it overwrites my checkbox column

    fpSpread1.ActiveSheet.Models.Data = new FarPoint.Win.Spread.Model.DefaultSheetDataModel(value, typeof(FinancialDataSummaryItem));

    how do i go about?

  • Replied 8 September 2017, 1:07 pm EST

    You can either set the DataAutoCellTypes to False and set up the cell types yourself or AFTER you are done with your binding code you can set the cell type for the first column to the checkbox.
Need extra support?

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

Learn More

Forum Channels