How to insert a row at the top of the datagrid?

  • Thread starter Thread starter BVM
  • Start date Start date
B

BVM

Hi:

I have a problem to insert a row at the top of the datagrid. In the data table (the datasource of the datagrid), no matter I insert the datarow at 0 or rows.count-1 position, the new row always appear at the bottom the datagrid, but I want it appear on the top. How can I do it?

Thanks,

Dennis Huang
 
Back
Top