To Increase grid row count?

QuestionsTo Increase grid row count?
Mohamed Akbar asked 8 years ago

How do i increase the grid row count values?

default is 20,how do i change like this 50,100,150,200,All

Thank you,

2 Answers
Abu Ghufran answered 8 years ago

Pasting from docs:

Grid Settings

You can use following options for `->set_options($grid)` function.

Number of records to show on page

$grid["rowNum"] = 10;

Options to show in paging records

$grid["rowList"] = array(10,20,30);

// you can also set 'All' for all records
$grid["rowList"] = array(10,20,30,'All');

// empty array will hide dropdown
$grid["rowList"] = array();

mohamed eltahir answered 8 years ago

Dear Mr. Abu,

Thank you so much.It is working fine.

Your Answer

2 + 12 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?