Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
14406 | May 26,2004 03:11 PM UTC | May 27,2004 05:43 PM UTC | WinForms | 18 |
![]() |
Tags: GridControl |
me.Grid.Binder.InternalColums("Price").StyleInfo.BackColor = Color.Red
One point to note is if you add your own GridBoundColumns to grid.GridBoundColumns, you must set the GridBoundColumn.MappingName property as this is how the grid maps the column in the DataTable to the GridBoundColumn. This property is case sensitive.
In a GridDataBoundGrid, to change the looks of a particular cell, you must use an event like PrepareViewStyleInfo. Here is a link to a KB on it. http://www.syncfusion.com/Support/article.aspx?id=560
You might want to browse the grid''s KB as it has many frequently asked questions answered there.
>me.Grid.Binder.InternalColums("Price").StyleInfo.BackColor = Color.Red
>
>
>One point to note is if you add your own GridBoundColumns to grid.GridBoundColumns, you must set the GridBoundColumn.MappingName property as this is how the grid maps the column in the DataTable to the GridBoundColumn. This property is case sensitive.
>
>In a GridDataBoundGrid, to change the looks of a particular cell, you must use an event like PrepareViewStyleInfo. Here is a link to a KB on it. http://www.syncfusion.com/Support/article.aspx?id=560
>
>You might want to browse the grid''s KB as it has many frequently asked questions answered there.
>
iconPainter = New GridIconPaint("TextPlusButton.", GetType(EllipsisCellButton).Assembly)
to match the one you are using, and also make sure the bitmap has been added to your project as a embedded resource.)
Here is a sample.
TextPlusButton_9126.zip
>iconPainter = New GridIconPaint("TextPlusButton.", GetType(EllipsisCellButton).Assembly)
>
to match the one you are using, and also make sure the bitmap has been added to your project as a embedded resource.)
>
>Here is a sample.
>
>TextPlusButton_9126.zip
>
>
Me.GridDataBoundGrid1.Binder.InitializeColumns()
> Me.GridDataBoundGrid1.Binder.InitializeColumns()
>
>
Dim val as object = me.grid(rowIndex, colIndex).CellValue
>Dim val as object = me.grid(rowIndex, colIndex).CellValue
>
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.