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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Mark new row with * in GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

69626 Nov 6,2007 07:02 AM UTC Nov 6,2007 08:53 AM UTC WinForms 1
loading
Tags: GridControl
Terence Rossow
Asked On November 6, 2007 07:02 AM UTC

G'day,

I'm using a grid class that is derived from GridDataBoundGrid and I hook it up to a generic binding list (BindingList) of objects. This all works great and I get the "new record" row and all - but I would like to show a * in the row header of that new record row. It seems to happen automagically in one of the samples (it uses a DataTable though, not a BindingList).

Any ideas?

Cheers,
TERRY


Administrator [Syncfusion]
Replied On November 6, 2007 08:53 AM UTC

You would normally get this behavior by default. Attached is a sample showing the * when you click into the AddNewRow.

The icons in the row header are normally provided by the "RowHeaderCell" CellType. You should check to see if you are somehow changing the style.CellType for your row header cells. One way you might be doing this is handling model.QueryCellInfo and providing an e.Style.CellType when e.ColIndex = 0 there.


GDBG_BindingList.zip

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;