Hi ,
Has anyone tried adding a new column in H5script new UI, I tried with the Infor sample, however, page down and scroll down options are not working, same works well in the OLD UIAny ideaRegards
Prabodha
Not sure what piece you are missing, but you have to execute the Column Data addition at every 'Page Down', something like this. var _this = this; this.unsubscribeReqCompleted = controller.Requesting.On(function (e) { //Populate additional data on scroll if (e.commandType == "PAGE" && e.commandValue == "DOWN" && _this.getCurrentRow() != 0) { _this.i = 0; _this.run(); } else { _this.detachEvents(); } }); this.unsubscribeReqCompleted = controller.RequestCompleted.On(function (e) { //Populate additional data on scroll });
this worked, there was an issue in my script.
For me the issue was that once I scroll to the next set of 33 it still passes the old rows i.e. 1-33 instead of 34-66. After scrolling another would it pass the previous batch. Does anyone know how to refresh the set of records as soon as I scroll?
Hi! Check out maxReturnedRecords of your MiRequest. Default is that 33. in order to return all set maxReturnedRecords = 0
.
That's not affect grid "size"