Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
18212 | Aug 26,2004 06:27 AM UTC | Aug 27,2004 12:08 PM UTC | WinForms | 9 |
![]() |
Tags: GridControl |
Grid.CellModels.Add(''''ColumnHeaderCell'''', GridSortColumnHeaderCellModel.Create(Grid.Model));
to FormLoad or somewhere it will be hit once before your grid is drawn the first time. At that point you can just use new to create an instance and not have a cached instance that you retrieve. (The grid will cache it for you.)
>Grid.CellModels.Add(''''ColumnHeaderCell'''', GridSortColumnHeaderCellModel.Create(Grid.Model));
>
>to FormLoad or somewhere it will be hit once before your grid is drawn the first time. At that point you can just use new to create an instance and not have a cached instance that you retrieve. (The grid will cache it for you.)
this.gridControl1.CellModels.Add("ColumnHeaderCell", new GridSortColumnHeaderCellModel(this.gridControl1.Model));
>this.gridControl1.CellModels.Add("ColumnHeaderCell", new GridSortColumnHeaderCellModel(this.gridControl1.Model));
>
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.