Closed PaolaRuby closed 3 years ago
Hello,
Thank you, I will check this and replay ASAP.
Removed
Hello,
Sorry for delay. I have found and fixed the problem. Please let me know if it is ok for you. In case it is fixed, please close the issue. Thank you again.
Best Regards, Tony
@tonytomov now it's working, thanks a lot
@tonytomov maybe the same issue, diferent steps with commit "Fix scrollbar in case no data and resizeGrid is called. Refere to: #996" UPDATED EXAMPLE: https://jsfiddle.net/pafhs8nd/1/
STEPS:
First fill partially the grid(there is a scrollbar space)
Then trigger resizeGrid
For last fill with big data the grid
@PaolaRuby ,
Thanks for investigations. This is correct behavior. The reason for this is that addRowData does not care about the scroll it just add records - sorry. After second fill calling resizeGrid will make it correct.
In order to prevent this maybe you will need to use setGridParam to update the data parameter and then reload the grid.
grid has a scrollbar's space at start, but after
resizeGrid
or trigger orientationEvent(responsive) the scrollbar's space disappears Example https://jsfiddle.net/f5vcd0z3/ (look at the right of the grid) After resizeGrid or orientationEvent When fill the gridconsole.log()
UPDATE: With
$('#grid1 #norecs').remove();
after grid creation, makes scrollbar's space works again when resizeGrid or orientationEvent are called but only shows one row,emptyRecordRow
breaks something? https://jsfiddle.net/jnbkq7cv/