Git Product home page Git Product logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 8, 2024
This is not a bug, it reflects the following behavior. 

The user can select any row (or group of rows using ctrl/shift) in the table 
using a mouse click. When the 
table gets a click event on row i it turns row i to be selected and changes its 
color. However, in case the row is 
already selected the user click is regarded as an un-select event. In the later 
case, row i color is changed back 
to its normal color and row i is no longer selected.

In the example, once you click the same row twice the table selected rows set 
becomes empty and you are 
receivning and appropriate message.

Original comment by [email protected] on 13 Apr 2009 at 11:12

  • Changed state: Invalid

from google-ajax-examples.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 8, 2024
And the fact that when you re-order the lines (by clicking on a header cell) 
and click on of 
the rows, it still says you clicked row # where # is the original row #?

Original comment by phistuck on 14 Apr 2009 at 4:43

from google-ajax-examples.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 8, 2024
The selection logic in the table is based on the original data table passed to 
the visualization. The table may 
display the rows in a different order but the original order is the one being 
counted for in the selections.

The idea here is that two visualizations may sync on the same dataTable and 
listen to each other's select events, 
yet, without knowing the display order being used in the other visualization.

Original comment by [email protected] on 16 Apr 2009 at 4:37

from google-ajax-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.