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.
Hello,
I have a little question regarding databoudn grid. On the first column I want to write a text (for example the record number) instead of > (the active record sign). It is possible ?
Thanks a lot.
ADAdministrator Syncfusion Team March 9, 2006 03:40 PM UTC
Hi,
Yes, this can be acheived by using QueryCellInfo event. Here is the code snippet
//this.gridDataBoundGrid1.Model.QueryCellInfo += new GridQueryCellInfoEventHandler(Model_QueryCellInfo);
private void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if(e.ColIndex == 0 && e.RowIndex > 0)
{
e.Style.CellType = "Header";
e.Style.CellValue = e.RowIndex;
}
}
Best regards,
Madhan.
FLFlorinMarch 10, 2006 07:40 AM UTC
Many thanks Madhan. It''s work nice.
Florin
>Hi,
>
>Yes, this can be acheived by using QueryCellInfo event. Here is the code snippet
>
> //this.gridDataBoundGrid1.Model.QueryCellInfo += new GridQueryCellInfoEventHandler(Model_QueryCellInfo);
> private void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
> {
> if(e.ColIndex == 0 && e.RowIndex > 0)
> {
> e.Style.CellType = "Header";
> e.Style.CellValue = e.RowIndex;
> }
>
> }
>
>Best regards,
>Madhan.