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 January 12, 2007 11:30 AM UTC
Hi, Error is coming in "PrepareViewStyleInfo", When i delete.
In "PrepareViewStyleInfo" i have written like this. My grid display is in multiline view [1 datarow equal 2 lines in grid ] CurrencyManager cm = (CurrencyManager)this.BindingContext[this.DataSource]; CLIBidSheet aBidSheet = (CLIBidSheet)(cm.List); CLIBidItem dr = (CLIBidItem)aBidSheet[((e.RowIndex-2) / 2)];
can you suggest me a solution.
ADAdministrator Syncfusion Team January 12, 2007 11:47 AM UTC
Hi Leema,
Could you please use this code snippet to access the CLIBidItem from CLIBidSheet in a PrepareViewStyleInfo event.
CurrencyManager cm = (CurrencyManager)this.BindingContext[this.DataSource]; CLIBidSheet aBidSheet = (CLIBidSheet)(cm.List);
int index = (int)((e.RowIndex-2) / 2); if( index >= 0 && index < cm.List.Count) { CLIBidItem dr = (CLIBidItem)aBidSheet[index]; //Your related code here }
Let me know if this helps.
Best Regards, Haneef
ADAdministrator Syncfusion Team January 12, 2007 12:06 PM UTC