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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Control

Thread ID:

Created:

Updated:

Platform:

Replies:

68679 Sep 27,2007 06:39 AM UTC Sep 28,2007 12:45 PM UTC WinForms 1
loading
Tags: GridControl
Sudharsini Ravikumar
Asked On September 27, 2007 06:39 AM UTC

Hi

I'm trying to find out a way to show a new row like Access database table. If you go to the last row you can see a row with an asterisk as row marker to show it as the new row waiting to be inserted. Is it possible to do that in Grid control? How and what should I do? Any help appreciated.

Thanks
Sudha

Jisha Joy [Syncfusion]
Replied On September 28, 2007 12:45 PM UTC

Hi Sudha,

Thank you for your interest in Syncfusion products.

By handling the event CurrentCellChanged in GridControl it is possible to show a new row waiting to be inserted when we go to the last row in the GridControl.
Here is the code snippets:

void gridControl1_CurrentCellChanged(object sender, EventArgs e)
{
if (gridControl1.CurrentCell.RowIndex == gridControl1.RowCount)
{ gridControl1.RowCount++;
}
}


Please refer the following sample that illustrate the same:
http://websamples.syncfusion.com/samples/Grid.Windows/68679/main.htm

For showing icon in header cell please refer the following Knowledge Base article:
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=23

Please let me know if you have any questions.

Regards,
Jisha

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

;