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
545
WebDataGrid: adding rows client-side
posted

Hallo,

I need to add several rows to WebDataGrid client-side:

var oGrid = $find(this._gridDetailClientID);

jQuery.each(costDetail.rows, function () {
  oGrid.get_rows().add(this);
});

but in my grid i see only first row added, even if my loop works perfectly. And RowAdding server-side event is raised only first time.

How can I resolve this problem?

I have AutoCrud=false and following behaviors are active: Activation, Selection, EditingCore, RowAdding, RowDeleting, CellEditing. 

Thanks