The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team June 10, 2004 05:56 PM UTC
Hi Jason,
You could do this with an unbound column.
The CustomSummary example shows how to add an unbound field (the CustomCounter in that sample).
In the unboundField_QueryValue method you can then set the record index:
private void unboundField_QueryValue(object sender, FieldValueEventArgs e)
{
if (e.Record is AddNewRecord)
return;
if (e.Field.Name == "Record")
e.Value = e.Record.ParentTable.Records.IndexOf(Record);
else if (e.Field.Name == "UnsortedRecord")
e.Value = e.Record.ParentTable.UnsortedRecords.IndexOf(Record);
}
Stefan
ADAdministrator Syncfusion Team June 11, 2004 07:47 AM UTC
Thanks again Stefan, that''s exactly what I need
;-)
Jason