Row numeration

QuestionsRow numeration
Azam asked 11 years ago

I'm sorry if i'm asking the question which was already solved, but i didn't find how can i make row numeration. My query returns, for example, 500 rows, and i want the first column to be as a numeration column. Is it possible?

1 Answers
Abu Ghufran answered 11 years ago

Set rownumbers to true.

$grid["rownumbers"] = true;

$g->set_options($grid);

Your Answer

2 + 10 =

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?