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.

In Grid Control How to remove extra row

Thread ID:

Created:

Updated:

Platform:

Replies:

70936 Jan 9,2008 09:55 AM Jan 17,2008 01:51 AM Windows Forms 4
loading
Tags: GridControl
venkataramu c
Asked On January 9, 2008 09:55 AM

Hi
in Grid control . automatically one extra row is coming. I donot want this row .Please give me cule.
Regards
venkat.


Mark Atkinson
Replied On January 9, 2008 03:37 PM

I don't envy the Syncfusion support staff sometimes...

>Hi
in Grid control . automatically one extra row is coming. I donot want this row .Please give me cule.
Regards
venkat.




J.Nagarajan [Syncfusion]
Replied On January 9, 2008 04:29 PM

Hi Venkat ,

Thanks for your interest in Syncfusion products.

If your intention is to remove the new row in grid then please refer to the following code snippet.

//For GridDataBoundGrid
Grid.EnableAddNew = false
//For GridGrouping control
Grid.TableDescriptor.AddNew = false

Please let me know if this helps.

Regards,
Nagaraj


venkataramu c
Replied On January 11, 2008 01:44 AM



Dear Nagaraj,
Thanks
But i am not using gridBoundControl i am using GridControl.
This grid control Not have This properties.
Please Help for grid control.
Regards
Venkat.


>Hi Venkat ,

Thanks for your interest in Syncfusion products.

If your intention is to remove the new row in grid then please refer to the following code snippet.

//For GridDataBoundGrid
Grid.EnableAddNew = false
//For GridGrouping control
Grid.TableDescriptor.AddNew = false

Please let me know if this helps.

Regards,
Nagaraj




Jeba S [Syncfusion]
Replied On January 17, 2008 01:51 AM

Hi Venkat,

Sorry for the delay in response.

Normally if you drag and drop the GridControl from the ToolBox it contains 10 rows and 10 columns by default. If you want to control this you can make use of the RowCount and ColCount property in the properties window or through code.

Please refer the below sample and modify the sample to show the extra row issue, that will help us to spot the issue and provide you the solution early. Here is the sample link:
http://websamples.syncfusion.com/samples/Grid.Windows/F70936/main.htm

Could you please explain me in which situation you are getting the extra row issue?

Regards,
Jeba.



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.

;