Controling no of sheets in farpoint

Posted by: ashis on 8 September 2017, 1:11 pm EST

  • Posted 8 September 2017, 1:11 pm EST

    Hi Bob


    Is it possible to keep only one sheet at runtime. Actually I am using the spread for Windows and have only one Datasource. But Farpoint has 2 sheets by default. So I am binding that data source to sheet0. But sheet1 is blank. I am also dynamically creating sheets and adding it to the spread.


    Any suggestion?


    Ashis


     

  • Replied 8 September 2017, 1:11 pm EST

    Ashis -

    What version are you using?  By default spread has never had more than one sheet.
  • Replied 8 September 2017, 1:11 pm EST

    Ashis,


    Spread ceates one SheetView automatically when you create the FpSpread object. So, if you just need one sheet, then there is no need to create a new SheetView object and add it to the Spread. You can just get the SheetView object that is already in the Spread.

  • Replied 8 September 2017, 1:11 pm EST

    We are using 4.0.2000.2005. I am new for Farpoint. Can I have only one sheet at both design time and runtime. I thought , we got some error, that's why we start working with 2 sheets. But now we are facing some problems , that's why I need your suggetion.


    Thanks


    Ashis

  • Replied 8 September 2017, 1:11 pm EST

    Ashis -

    Yes, you can have only one sheet at both design time and runtime.  What type of problems are you running into?
  • Replied 8 September 2017, 1:11 pm EST

    Thanks Bob


    Actually our requirement is : One sheet for the first time, but the user can create more than one sheet


    at runtime.How to remove the automatically  created SheetView at designtime.Could you please explain with an example


    Ashis

  • Replied 8 September 2017, 1:11 pm EST

    I don't understand the question.  If you want one sheet then why do you want to get rid of it at design time?  If you are talking about the second tab on the tabstrip at design time that is not a sheet.  It's a tab to add a sheet at runtime.  If you don't want it then set the TabStripInsertTab property to false in the properties window.
Need extra support?

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

Learn More

Forum Channels