Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial number in dgrid #612

Open
Mits16 opened this issue May 31, 2013 · 4 comments
Open

Serial number in dgrid #612

Mits16 opened this issue May 31, 2013 · 4 comments

Comments

@Mits16
Copy link

Mits16 commented May 31, 2013

Would be a dumb question to ask, but is there a way to introduce an auto-increment column which acts as a serial number column for the records in dgrid ?
I used formatter in a column to return an incremented number, which is fine, but whenever the dgrid is sorted by clicking on headers it messes up the numbering as the first row now is not numbered 1, also I have a check box in one of the columns which triggers a method and then the dgrid again refreshes that row and the number messes up again.
Is there an easy way like assigning an auto-increment to a column which will number the rows every time the data from the memory store is read and rendered?

@runtarm
Copy link

runtarm commented May 31, 2013

Do you mean you want to display row numbers?

@Mits16
Copy link
Author

Mits16 commented Jun 2, 2013

yes...!!!!

@Mits16
Copy link
Author

Mits16 commented Jun 12, 2013

Am I missing anything already available? Could you provide me a reference to it?

@cwocwo
Copy link

cwocwo commented Jun 13, 2013

see: #382

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants