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
175
When updating cell, the value was gone
posted

Dear,

Need help here, when i want to update the cell by double clicking it, the value gone missing, my primary key also missing.

example i have 2 row and 3 col :

ID | TCODE    | TRANS TYPE

1   | ABC          | Create

2   | BCD          | Create & Edit

when i double click at ABC to update it all vales gone missing :

ID | TCODE    | TRANS TYPE

     |                  |                          -> this row is being edited

2   | BCD          | Create & Edit

 

here is my code :

 <%= _
        Html.Infragistics().Grid(Model).ID("ig_TblGrid") _
        .UpdateUrl("UpdateGridMenuSAP") _
        .PrimaryKey("id") _
        .AutoGenerateColumns(True) _
        .Columns(Function(c) {c.For(Function(x) x.id).DataType("int").HeaderText("ID").Width("1px"), _
                              c.For(Function(x) x.TCode).DataType("string").HeaderText("TCode"), _
                              c.For(Function(x) x.TransactionType).DataType("string").HeaderText("Transaction Type")}) _
        .Features(Function(f) {f.Selection().MouseDragSelect(True).MultipleSelection(True).Mode(SelectionMode.Row), _
                               f.Selection().MouseDragSelect(True).MultipleSelection(True).Mode(SelectionMode.Cell), _
                               f.Updating()}) _
        .Width("50%") _
        .Height("100%") _
        .DataBind() _
        .Render()
    %>

 

thx.

Parents
No Data
Reply Children
No Data