11

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 .
Thanks.

10

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, privacy policy and cookie policy

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