Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
17744 | Aug 16,2004 03:42 AM UTC | Aug 16,2004 02:58 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
private void grid_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e) { if(e.RowIndex == 2 && e.ColIndex > 0) { e.Style.BackColor = Color.Red; } else if(e.RowIndex > 0 && e.ColIndex == 1) { e.Style.Format = "##.##"; e.Style.CellValueType = typeof(double); } }
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.