Add row at top in UltraGrid

  • Thread starter Din Butt via .NET 247
  • Start date
D

Din Butt via .NET 247

I want to add a new row in ultra grid at index 0 mean at top of grid.
 
Joined
May 18, 2013
Messages
1
Reaction score
0
Hello,
A possible approach to achieve this might be by using the following code:
Dim row As UltraGridRow = Me.UltraGrid1.DisplayLayout.Bands(0).AddNew()
row.ParentCollection.Move(row, 0)

Regards:
Ahmad Khalid
Software ENGINEER
Saood Software Solution
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top