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

grid.cell, ColumnId parameter / bug or design? #1056

Open
Jens-dojo opened this issue Dec 19, 2014 · 0 comments
Open

grid.cell, ColumnId parameter / bug or design? #1056

Jens-dojo opened this issue Dec 19, 2014 · 0 comments

Comments

@Jens-dojo
Copy link

Hi,

the docs say:
"When columns is an array, the numeric (!!) indices become the column IDs; "

So I thought I could us a NUMBER as ColumnId, for example

var mycell = grid.cell(target,2)

That does not work

var mycell = grid.cell(target,"2")
does work.

If that is not a bug, I propose to make it clear in the APIs that ColumnId must be a string.

It took my quite a while to figure that out ......

Let me know if you want me to change that and make a pull request.

Thank you
Jens

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

1 participant