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.

SfCellGrid - remove header

Thread ID:

Created:

Updated:

Platform:

Replies:

128700 Feb 6,2017 05:32 PM Feb 7,2017 05:29 AM WPF 1
loading
Tags: GridControl
Oto Dusek
Asked On February 6, 2017 05:32 PM

I created cell grid and filled it with data. now i want to delete header which is moving with scrolling.
i set HeaderColumns = 0;
            HeaderRows = 0;

but this doesnt work.

How can i remove header?

Thank you

Kanimozhi Bharathi [Syncfusion]
Replied On February 7, 2017 05:29 AM

Hi Oto Dusek,   
   
Thank you for contacting Syncfusion Support.   
   
We have checked your query. As you have not clearly mentioned whether you are using GridControl of WPF platform or SfCellGrid of UWP platform, we have provided the solutions for the two controls. Please find the solution in the below table,   
   
Control   
Response   
GridControl(WPF platform)   
   
   
You can remove the headers in GridControl by setting HeaderRows/HeaderColumns and FrozenRows/FrozenColumns as “0” like below code example,   
   
grid.Model.HeaderRows = 0;   
grid.Model.HeaderColumns = 0;   
grid.Model.FrozenColumns= 0; 
grid.Model.FrozenRows = 0;   
   
We have also prepared a sample for your reference, please find the sample link below,   
   
   
   
   
SfCellGrid(UWP platform)   
You can remove the headers in SfCellGrid by setting HeaderRows/HeaderColumns and FrozenRows/FrozenColumns as “0” like below code example   
   
cellgrid.HeaderColumns = 0;   
cellgrid.HeaderRows = 0;   
cellgrid.FrozenRows = 0;   
cellgrid.FrozenColumns = 0;   
   
   
We have also prepared a sample for your reference, please find the sample link below,   
   
   
   
  
   
   
Please let us know if you need further clarifications.   
   
Regards   
Kanimozhi B   


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.

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.

;