I have views with table display, the table consist of two column(name[string], salary[float]).
How can i set a auto increment for the table rows?
like this want i want enter image description here .

1 Answer 1


You need to add a new field to the view, and choose the "Global" filter from the available drop down.

Then choose the "Global: View result counter" type:

enter image description here

That wiill give you a counter as a field which you can put into whichever column in the table is appropriate for what you need.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.