Hello,
I have a hierarchical grid with about 8000 rows. Based on user interaction I have to update values of specific cell, which I do by looping through the selected rows. There is a conditional formatting on the specific cell which changes the background depending on the value.
My problem is the following ; if I use the following statement it takes too long :
foreach
(GridViewRowInfo row
in
this
.radGridView1.SelectedRows)
{
row.Cells[
"MY_CELL"
].Value =
"newValue"
;
}
Now if I use DeferRefresh() the speed is drastically improved, but the grid scrolls back all the way to the top when it is done :
using
(
this
.radGridView1.DeferRefresh())
{
foreach
(GridViewRowInfo row
in
this
.radGridView1.SelectedRows)
{
row.Cells[
"MY_CELL"
].Value =
"newValue"
;
}
}
I don't know if it is normal behavior, or if there is a way to avoid scrolling back all the way to the top AND keeping the same run time I have with DeferRefresh().
EDIT : I also tried using BeginUpdate() and EndUpdate() which result in the same scrolling behavior.
Thank you for your help !
private
void
searchKeyDown(
object
sender, KeyEventArgs e)
{
if
(e.KeyCode == Keys.F3)
btnSearch_Click(
null
,
null
);
else
if
(e.KeyCode == Keys.F && e.Modifiers == Keys.Control)
{
RadTextBoxElement txt = (RadTextBoxElement)
this
.radRibbonBarButtonGroup1.Items[0];
txt.TextBoxItem.Focus();
}
}
Hi,
I am a little bit confuse as in how to bind images to a RadDropDownList. I can bind with a data table. But I don't know how to bind images to my items. So, do I have to use the Unbound Mode to bind each item in my data table and then bind images while I am iterate through the data table? I can't find a good example in the documents for this.
Thank you for the help.
Good day.
Posted on 1 day ago