Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
15577 | Jun 22,2004 10:10 PM UTC | Jun 23,2004 08:02 AM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
GridHierarchyLevel level0 = this.gridDataBoundGrid1.Binder.RootHierarchyLevel;
GridBoundColumnCollection gbcc = level0.GridBoundColumns;
BUT, this collection will have empty place holder columns for the ''.'', ''-'', etc. If you only want the columns that are in your datasource, then you should look at the datasource, maybe this.dataTable1.Columns. If you are only putting some of the columns from your datatable into the grid, then when you do this, you could create your own list for use later when you need it. 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.