Author Topic: Bath addRow to grid initialize correctly first 15 rows  (Read 2764 times)

carlossantillan

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 4
    • View Profile
Bath addRow to grid initialize correctly first 15 rows
« on: December 13, 2017, 01:59:51 am »
Hi,

im using  grid.addRow({ rowList: rowListarray}); and my grid has a DetailModel. Succesfully y add the 20 rows as this for each row:
   var   rowDataa = {
                                                               newRow:
                                                               { 
                                                                    implbl:"Impuestos",   
                                                                    noid:noid,
                                                                                  clv:arreglocampos[3],   
                                                                    },
                                                                    rowIndx: (i)
                                                         };   

impuestos is my detailModel that is another grid. I iterate through grid.rowExpand({ rowIndx: y });  to initialize every row detail grid and first 14 rows initialize perfect the DetailModel, but begining at row 15 not initialize correctly the detail grid
« Last Edit: December 13, 2017, 02:26:06 am by carlossantillan »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Bath addRow to grid initialize correctly first 15 rows
« Reply #1 on: December 13, 2017, 09:44:08 am »
Please share a jsfiddle.

carlossantillan

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Bath addRow to grid initialize correctly first 15 rows
« Reply #2 on: December 19, 2017, 02:36:11 am »
thanks... i resolve put a editFirstCellRow every time i add a row... dont understand why.....