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

Mutli Row Record (GridGroupingControl)

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.

3 Replies

AD Administrator Syncfusion Team 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


DH Devshi Halai September 27, 2004 02:26 PM UTC

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


DH Devshi Halai September 29, 2004 12:50 PM UTC

Hi Stefan, This works fine. Thanks Dev.

Loader.
Live Chat Icon For mobile
Up arrow icon