Skip to content

Replies

0
ferdin
ferdin answered on Dec 19, 2008 12:33 PM

Mike

Thanks for the reply it really helped me a lot

Ferdin

 

0
ferdin
ferdin answered on Dec 18, 2008 9:11 AM

Mike,

Thanks for it worked perfectly. I am jus missing how to set the FontWeight & Border for a particular cell. I dont see any of the properties to make it possible. Can you suggest me some ideas?

Ferdin

0
ferdin
ferdin answered on Dec 17, 2008 12:12 PM

Mike,

Thanks a lot for your post. It worked fine with me. I tried to use this same in the cell change event but i got exceptions later i casted the type and worked perfect with me.

Can you give me some ideas how to acheive for Font Family, Font Size, Font Style, Font weight and Border.

Thanks

Ferdin

 

0
ferdin
ferdin answered on Nov 27, 2008 11:43 AM

Hi Matt

Thanks for your support.

I tried to do so in the method which you suggested but the InitializeRow event gets fired up by the time the grid loads.

I need to have column which is in the grid that updates to the Fonts choosen from another cell in the same grid.

I tried this event in CellChange

Here comes the following code

ultraGrid.DisplayLayout.Override.EditCellAppearance.ForeColor =

SystemColors.Desktop;

ultraGrid.DisplayLayout.Override.EditCellAppearance.BackColor = System.Drawing.

Color.Black;

After writing this code the ForeColor and BackColor changes for the Active Cell which has focus.

I also tried this too

ultraGrid.Rows[Row].Cells[2].EditorControlResolved.BackColor = System.Drawing.

Color.Black;

ultraGrid.Rows[Row].Cells[2].EditorControl.BackColor = System.Drawing.

Color.Black;

These two lines throws errors like this

Object reference not set to an instance of an object.

Could you please help me

Thanks in advance

Ferdin

 

 

0
ferdin
ferdin answered on Nov 18, 2008 3:34 AM

Thanks Brain Fallon,

I dont understand it clearly. Could you more specific with this or could you please code that for me.