We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Allow User To Resize SfDataGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

127412 Nov 14,2016 07:51 PM UTC Nov 16,2016 12:23 PM UTC UWP 3
loading
Tags: SfDataGrid
David Harvey
Asked On November 14, 2016 07:51 PM UTC

Is it possible to allow the user to resize SfDataGrid controls during run time.  Useful for expanding the number of rows/columns displayed.

Thank you.

Srinivasan Vasu [Syncfusion]
Replied On November 15, 2016 06:38 AM UTC

Hi David,   
  
We cannot understand your requirement clearly.    
   
You can change the Row height by setting SfDataGrid.RowHeight property in runtime.   
   
You can change the Column Width by setting SfDataGrid.ColumnSizer property in runtime.   
   
You can also add columns in runtime.    
  
If your requirement differs from this, please share more details about your requirement? This would help to analyze further   
  
Regards,   
Srinivasan   


David Harvey
Replied On November 15, 2016 09:54 AM UTC

Hello,

Sorry, what I mean to say is that once the SfDataGrid is rendered on screen, can it be configured such that the user can grab the corner of the grid with their mouse (or fingers), and expand the size of the control.  Much like how one normally expands the size of the window to any arbitrary size, but in this case specific to the grid control itself

The result would be that the user can resize the grid to show more columns or rows depending on how big they resize the grid.  Note, this is not about adjusting the individual heights/widths of the rows/columns, but the whole table itself.


Thank you.

Srinivasan Vasu [Syncfusion]
Replied On November 16, 2016 12:23 PM UTC

Hi David, 

We have analyzed your query and we have prepared a sample based on your requirement. You can resize the SfDataGrid vertically or horizontally during runtime using SfGridSplitter. 

Please find the sample from the below location. 


Please let us know if you need any query on this. 


Regards, 
Srinivasan 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;