Hi,
We use UltraProgressBar in a UltraGrid as EditorComponent (With BindingList)
It works, we can see the progressbar with updated value.
What we want to do is to modify some appearance properties depending on some value.
for that we use : UltraGrid1.Rows(0).Cells(x).EditorComponent
but the value is null and we don't know how to get the control.
Thank you
Hello Dnx,
You could try using the following code sample as a possible approach:
ultragrid1.rows(0).cells(0).EditorComponentResolved
If that is not case and you would like to get the value of the desired cell you could use:
[code]
ultragrid1.rows(0).cells(0).Value
Once you find the desired cell you would be able to control the appearance properties of it.
Please let me know if I misunderstood you.
Brother,
I have used Editorcomponent using multiple Editors in ultragrid column and cells. My problem is Fetch data is different.
Some times UltraGridCell or [grd.rows[3].cells[2]] value is Null in display. (Run time grid display)
If I read the cell value using ultragrid1.rows(0).cells(0).EditorComponentResolved, I get the mistaken value of Column EditorComponent(Rendering Control) value. But I need Cell EditorComponent(Rendering Control) value. I want to get the value for to use in Excel Report.
What Can I do? please help me.
Thank you.
You don't need to get the editor in order to read the value of a cell. You can just use the cell's Value property.
However, if a cell is currently in edit mode, then the Value property won't return any pending edits. Value returns the current value from the data source. If you want to get a value of a cell in edit mode, you have to use the cell's Text property.