increase the width of fpspread grid at the runtime

Posted by: amitkumarnigam on 8 September 2017, 1:01 pm EST

  • Posted 8 September 2017, 1:01 pm EST

    How can i increase the width/Height of the grid at the runtime?


    What is the property related to width change event of the grid?


    Can we Resize the grid at the runtime?


     

  • Replied 8 September 2017, 1:01 pm EST

    You can use the Height and Width properties to change the size of the spread.  You cannot resize it with the mouse, only through code.  The FpSpread1_ClientSizeChanged event will fire when you change the size.
  • Replied 8 September 2017, 1:01 pm EST

    thanx for ur suggestion.


    but as per the requirement of my application i have a farpoint grid in which the width and height can be resized by the user at the runtime. If he is changing the resolution then he wants to resize the grid to reduce the space which is being wasted. How can i give this utility to user in the application?.


    Regards,


    Amit

  • Replied 8 September 2017, 1:01 pm EST

    If the form is resizing when you change the resolution then you can use the forms Resize event and change the size of the spread.
Need extra support?

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

Learn More

Forum Channels