DataBinding property for Spread Cell like we have for TextBox, Label etc.

Posted by: shinsid on 8 September 2017, 3:18 pm EST

  • Posted 8 September 2017, 3:18 pm EST

    I want to have a Data Binding Property for a Spread Cell(not for range, only for particular cells) like textbox or label, to which i can attach an object as a data source.

    Please help me with it as I have no idea how to do it.
  • Replied 8 September 2017, 3:18 pm EST

    shinsid,

    Can you please provide me some more details about your use case and what exactly are you looking to accomplish? As you will notice in the following walkthrough (for cell range), you can pass the column and row to the MapperInfo class to access only a single cell:
    http://helpcentral.componentone.com/NetHelp/SpreadNet8/WF/spwin-databind-range.html

    Directly assigning a datasource to the cell like a textbox is not possible. However with some information about your use case, we might try finding some alternate way of doing it.

    Regards,
    Sankalp
  • Replied 8 September 2017, 3:18 pm EST

    Hello Sankalp,

    Thanks for your reply.

    I'll elaborate the scenario for you.

    Basically, I want to databind a property of a class with a cell on Spread.

    Required Function - Whenever I update the value of the property, the updated value should reflect in the cell. Viceversa, if I edit the value in the cell, the value should be assigned to the property. So I need a two way binding with cell. Moreover I need to bind lot of properties with different cells on SPREAD.

    This is very urgent requirement for my project. So I hope you can give a quick response on this with a good example.

    If this cannot be implemented I am afraid we have to exclude using SPREAD tool in our Project becaus it is getting difficult to work with it.

  • Replied 8 September 2017, 3:18 pm EST

    Hello,

    As far as I know currently this functionality is not available in Spread. However we have forwarded this issue to the development team to get their insight on it. The tracking number is 118259. We will let you know once there would be any updates available.

    Regards,
    Sankalp
Need extra support?

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

Learn More

Forum Channels