Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
465
Display only grid without update postbacks
posted

My surrent grid is bound to a dataset.  When an cell is updated a postback is done, the grid is refreshed and focus remains on the current line. 

Is it possbile to have the grid be an enter only container?  When a cell is updated it would still save to the grid, but the database update woudl not be done until later.  Maybe at a button click of something.   

I am thinking creating the grid using the follwoing code, instead of a datbind, woudl solve the problem but I am not sure.

Dim row As New UltraGridRow

intRow += 1

DuesGrid.Rows.Add(intRow.ToString())

row = DuesGrid.Rows.FromKey(intRow.ToString())

row.Cells.FromKey("Date").Value = TrxDate