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).
ADAdministrator Syncfusion Team September 27, 2004 08:11 AM
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.
DHDevshi HalaiSeptember 27, 2004 09:26 AM
Thanks I''ll try this and let you know.