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.
How to freeze columns in Datagrid?
if you use datagrid to bounding data,you need some columns such as columns in left in datagrid can be freezed.when you scroll Hscrollbar they will always be showed.
Please help me!Thanks!
Anybody have solution for this?
if anybody does then let me know.
I am also looking fot this.
Thanks.
Ajay
> How to freeze columns in Datagrid?
> if you use datagrid to bounding data,you need some columns such as columns in left in datagrid can be freezed.when you scroll Hscrollbar they will always be showed.
> Please help me!Thanks!
SRsrividya ramaniJuly 26, 2004 05:49 AM
Use the following-
gridRun.Model.Cols.FreezeRange(1,2);
where gridRun is your GridDataBoundGrid.
The above code will freeze columns 1 and 2.
>How to freeze columns in Datagrid?
>if you use datagrid to bounding data,you need some columns such as columns in left in datagrid can be freezed.when you scroll Hscrollbar they will always be showed.
>Please help me!Thanks!
HKHemant KumarSeptember 12, 2004 11:52 PM
Hai Srivi,
As you have said, i tried, but I''m not able to find the "Model.Cols.FreezeRange()" function for the DataGrid. If it is different control (GridDataBoundGrid), tell me where can i find this
Thanx,
-Hemant
>Use the following-
>gridRun.Model.Cols.FreezeRange(1,2);
>
>where gridRun is your GridDataBoundGrid.
>The above code will freeze columns 1 and 2.
>
>
>
>>How to freeze columns in Datagrid?
>>if you use datagrid to bounding data,you need some columns such as columns in left in datagrid can be freezed.when you scroll Hscrollbar they will always be showed.
>>Please help me!Thanks!