Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Add checkbox support for multi select #1407

Conversation

BenjaminNeilDavis
Copy link
Contributor

Added checkbox support for multi select

Fixes #1311, #1421

@BenjaminNeilDavis BenjaminNeilDavis changed the title Fixes #1311 Add checkbox support for multi select Jul 20, 2015
@interactivellama
Copy link
Contributor

Please add example using checkbox to index.html in order to test.

@BenjaminNeilDavis
Copy link
Contributor Author

@interactivellama the first example will work. All that is needed is multi-select enabled.

@interactivellama
Copy link
Contributor

Do we want any kind of set spacing on these checkboxes?

screen shot 2015-07-21 at 12 00 36 pm

Also, this happens on resize:
screen shot 2015-07-21 at 12 00 19 pm

@@ -646,8 +648,8 @@ define(function (require) {
dataSource: function (options, callback) {
list(options, callback);
},
list_columnSizing:false,
list_columnSyncing: false,
/* list_columnSizing:false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove comments if not needed. Same w/ line 755.

@interactivellama
Copy link
Contributor

@BenjaminNeilDavis I think this is older code I'm referring to, but is there a reason that the action.html key is a function and not a string? Line 244: var html = action.html(); is a little confusing because it's so close to http://api.jquery.com/html/.

@interactivellama
Copy link
Contributor

Please merge in glyphicons into actions dropdown. #1410

@interactivellama
Copy link
Contributor

Are the double border line to the left side of actions column intentional? This is with column sizing on?

screen shot 2015-07-27 at 10 45 19 am

@BenjaminNeilDavis
Copy link
Contributor Author

@interactivellama Did you do anything different to get that double line? What page are you looking at? What browser are you using? I am looking at index page in chrome and do not see that

@interactivellama
Copy link
Contributor

Reviewed: Assigned to @kevinparkerson for additional review.

@interactivellama
Copy link
Contributor

"Auto flip" of the dropdown to cause the actions dropdown to flip up has been added in this PR.

It does not use data-target due to wrapping div not having a unique ID, etc. and therefore transverses the all parent DOM notes for overflow not visible.

@interactivellama
Copy link
Contributor

@BenjaminNeilDavis It's Chrome. I think it has something to do with column sizing being on.

@kevinparkerson
Copy link
Contributor

I see nothing wrong with the code after a look at it. Would like to test it locally, but the clone download percentage is still only at 34% after 20 minutes. Slow today, for some reason. Might check it out later after it finishes.

Added checkbox support for multi select

Resolving issues found from failed test. Was not returning selected items properly

Adding sort to both repeater options

Fixing frozen columns, actions, multi select to work with list_columnSizing and list_columnSyncing.
Fixes #1411 Repeater actions to have pointer cursor.
Fixes #1311 adds checkbox support for multi select

Fix broken test due to change of width property in actions option

remove unneeded width property from repeater

Fixes Actions function to string
- removing 'multi-selected' and making everything 'selected'
- removing fuelux icons from index example

Found issue in test with way returning selected items. Was also selecting the frozen column since it had the selected class. Had to change to specifically look for only the main table items.

Removing data-initialize of the checkboxes
@BenjaminNeilDavis BenjaminNeilDavis force-pushed the issue-1311-native-support-checkbox branch from bd1d5a5 to a8a972b Compare July 28, 2015 16:15
@swilliamset
Copy link
Contributor

@interactivellama and @kevinparkerson approved offline

swilliamset added a commit that referenced this pull request Jul 28, 2015
…port-checkbox

Add checkbox support for multi select
@swilliamset swilliamset merged commit e6972bd into ExactTarget:master Jul 28, 2015
@interactivellama interactivellama modified the milestones: 3.10.1, 3.11.0 Jul 28, 2015
@interactivellama interactivellama removed this from the 3.10.1 milestone Jul 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants