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

Add multi select to table #427

Closed
GordonSmith opened this issue May 27, 2015 · 1 comment
Closed

Add multi select to table #427

GordonSmith opened this issue May 27, 2015 · 1 comment
Assignees
Milestone

Comments

@GordonSmith
Copy link
Member

@GordonSmith GordonSmith commented May 27, 2015

No description provided.

@GordonSmith GordonSmith added this to the 1.2.0 milestone May 27, 2015
@GordonSmith
Copy link
Member Author

@GordonSmith GordonSmith commented May 27, 2015

Here are some suggested steps:

  1. Ensure each row in the table has a uniqueID: <tr id="xxx">...</tr>
  2. Add a SelectionBag to the TableWidget
  3. Add a click handler similar to: https://github.com/hpcc-systems/Visualization/blob/master/src/graph/Graph.js#L496-L498 - Note: The first param being handed to the selectionBag.click will need to be a new JS Object: {_id: ROW_UNIQUE_ID}
  4. Add some new styles to the CSS to highlight the select rows.

Job Done.

anmoljagetia added a commit to anmoljagetia/Visualization that referenced this issue May 28, 2015
Fixes hpcc-systemsGH-427

Signed-off-by: Anmol Jagetia <anmoljagetia@gmail.com>
anmoljagetia added a commit to anmoljagetia/Visualization that referenced this issue May 28, 2015
Fixes hpcc-systemsGH-427

Signed-off-by: Anmol Jagetia <anmoljagetia@gmail.com>
anmoljagetia added a commit to anmoljagetia/Visualization that referenced this issue May 28, 2015
Fixes hpcc-systemsGH-427

Signed-off-by: Anmol Jagetia <anmoljagetia@gmail.com>
anmoljagetia added a commit to anmoljagetia/Visualization that referenced this issue May 28, 2015
Fixes hpcc-systemsGH-427

Signed-off-by: Anmol Jagetia <anmoljagetia@gmail.com>
anmoljagetia added a commit to anmoljagetia/Visualization that referenced this issue May 29, 2015
Fixes hpcc-systemsGH-427

Signed-off-by: Anmol Jagetia <anmoljagetia@gmail.com>
anmoljagetia added a commit to anmoljagetia/Visualization that referenced this issue May 29, 2015
Fixes hpcc-systemsGH-427

Signed-off-by: Anmol Jagetia <anmoljagetia@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants