Hi, I have implemented dynamic data loading with large dataset on Datagrid, (of about 20000 rows, buffering 100 rows at a time) however I cannot find a method in the documentation that allows me to select to a particular row, let’s say, the 10000th row.
I have tried selectRowById() method, as well as showRow(row) and selectRow(row) method,
but I cannot trigger the grid to go out and fetch the un-rendered row, not even by mygrid.render_row(row) or mygrid.render_dataset(10000,10100);
dhtmlXGridObject.prototype.showRowByIndex=function(index){ var height = this.objBox.scrollTop = this._srdh * index; }
When I tried to apply it, a problem occurred.
Find the index by mygrid.getRowIndex().
But, It will not work if there are more than 100 rows. Because I set it that 100 rows at a time.
Question1 : How can I find it(index)?
Question 2 : And is there no way to know (this.objBox.scrollTop)? It always says 0.