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

Feature Request: Table visualization should support cell and/or column-based selection #1009

Open
orwant opened this issue May 9, 2015 · 3 comments

Comments

@orwant
Copy link
Collaborator

orwant commented May 9, 2015

What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
1. EventHandler is capable or returning row with getSelection() but not the column.
2. eg: http://jsfiddle.net/M3K86/1/


What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?

DataTable

Are you using the test environment (version 1.1)?
(If you are not sure, answer NO)

NO

What operating system and browser are you using?

Mac OS X Version 10.7.4
Google Chrome Version 21.0.1180.79


*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by john.wachowski on 2012-09-04 18:41:25

@orwant
Copy link
Collaborator Author

orwant commented May 9, 2015

As the code in the jsfilddle didn't see to work, here is my example:
The row number is ok, but the column name in undefined.

function selectHandler() {
  var selection = visualization.getSelection();
  alert(selection[0].row);
  alert(selection[0].column);
};

Original issue reported on code.google.com by criscmaia on 2012-09-09 15:43:12

@fjompen
Copy link

fjompen commented Mar 1, 2016

Any progress on this one?

@grabks
Copy link

grabks commented Mar 1, 2016

@fjompen This is by design. Table selection is row-based, therefore will return a null value for the column. Changing to a feature request.

@grabks grabks changed the title Bug: getSelection method does not return column property. Feature Request: Table visualization should support cell and/or column-based selection Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants