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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Mutli Row Record (GridGroupingControl)

Thread ID:





19457 Sep 27,2004 12:02 PM UTC Sep 29,2004 12:50 PM UTC WinForms 3
Tags: GridControl
Devshi Halai
Asked On September 27, 2004 12:02 PM UTC

Hi How can I have a distinct border between mutli-row record lines, so the each record is easily identifiable distinct. I don''t want to use alternating colours, I would just like to have a thicker border between records. At the moment If I try this all the rows appear with the new border (not just records). Dev.

Administrator [Syncfusion]
Replied On September 27, 2004 01:11 PM UTC

I think you could handle QueryCellStyleInfo and if TabelCellType is a RecordFieldCell or AnyRecordFieldCell, you can get the rowInRecord index with RecordRow row = (RecordRow) e.DisplayElement; Record r = row.ParentRecord; int rowInRecord = r.RecordRows.IndexOf(row); The you can do if (rowInRecord == 1) // second row // set style border here. I haven''t tried it. Let me know if you need more details or if you run into bumps. Stefan

Devshi Halai
Replied On September 27, 2004 02:26 PM UTC

Hi Stefan, Thanks I''ll try this and let you know.

Devshi Halai
Replied On September 29, 2004 12:50 PM UTC

Hi Stefan, This works fine. Thanks Dev.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon