Hello,
I have a grid setup with both bound and unbound columns so in order to add new rows to the grid programmatically I'm using the NewRow() and Add() methods on the grid's row collection instead of accessing the underlying datasource. By going this route though, I've noticed it's taking on the order of minutes to fill up 500 rows, which seems really sluggish to me. Am I doing something wrong here? I'm testing with the trial version for download currently.
Private Sub Form1_Load(...)
Me.RadGridView1.BeginEdit()
For i as Integer = 1 to 500
Dim newrow as GridViewRowIndo = Me.RadGridView1.Rows.NewRow()
' update a few row cells here....
Me.RadGridView1.Rows.Add(newrow)
Next
Me.RadGridView1.EndEdit()
End Sub
Thanks,
Mark
I have a grid setup with both bound and unbound columns so in order to add new rows to the grid programmatically I'm using the NewRow() and Add() methods on the grid's row collection instead of accessing the underlying datasource. By going this route though, I've noticed it's taking on the order of minutes to fill up 500 rows, which seems really sluggish to me. Am I doing something wrong here? I'm testing with the trial version for download currently.
Private Sub Form1_Load(...)
Me.RadGridView1.BeginEdit()
For i as Integer = 1 to 500
Dim newrow as GridViewRowIndo = Me.RadGridView1.Rows.NewRow()
' update a few row cells here....
Me.RadGridView1.Rows.Add(newrow)
Next
Me.RadGridView1.EndEdit()
End Sub
Thanks,
Mark