This question is locked. New answers and comments are not allowed.
You know the default number of rows is 200, columns is 50. I want to set the number of rows and columns dynamically according to the data getting from controller code. Because the data length is not a fixed value, so how can I set the number of rows and columns dynamically by a method? please give example.