Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Table: Implement Classes Option #8349

Closed
wants to merge 83 commits into from

Conversation

cgack
Copy link
Contributor

@cgack cgack commented Dec 16, 2015

This includes the changes made in the table review branch https://github.com/jquery/jquery-mobile/tree/7360-table-review

Gabriel Schulhof added 30 commits November 19, 2015 12:38
Thus, replace it with an instance variable turned on at the beginning of
_create() and turned off at the end of _create(). This removes the need for
_refresh(). refresh() can now handle the actual refresh, and rebuild() becomes
and alias for refresh(). We should deprecate rebuild() in favour of refresh().
Sometimes the column starts out as not visible, and sometimes it starts out as
visible. Before making sure that .prop( "checked", false ) has no effect, the
column must be rendered invisible irrespective of its starting state.
@cgack
Copy link
Contributor Author

cgack commented Dec 16, 2015

TODOS

  • Implement Classes
  • use hasClasses, lacksClasses in tests
  • review QUnit.skip-ed tests
@cgack cgack changed the title [WIP] Table: Implement Classes Option Jan 21, 2016
@cgack cgack assigned cgack and arschmitz and unassigned cgack Jan 21, 2016
@cgack
Copy link
Contributor Author

cgack commented Jan 21, 2016

@arschmitz I think this is read for a round of review. Thanks!

@arschmitz
Copy link
Contributor

on it

this._on( this._menu, {
"change input": "_menuInputChange"
} );
_updateVariableColumn: function( header, cells, priority/*, state */ ) {
Copy link
Contributor

Choose a reason for hiding this comment

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

remove unused stae var comment

@arschmitz
Copy link
Contributor

A couple things i noticed throughout were use of jqmdata, jqmremovedata, and $.mobile.getAttribute all of which are deprecated. I also noticed there are not any backcompat tests over all looking good

@arschmitz
Copy link
Contributor

Oh and of course no hasClasses, but you have that as a todo already

@arschmitz
Copy link
Contributor

Related to tests it looks like this fixes the failures we are seeing in 1.5-dev on table but the Basic table: _refreshHeaderCell() test is failing across the board

@cgack
Copy link
Contributor Author

cgack commented Feb 18, 2016

gh-6531 needs to have the table-stripe removed

@arschmitz arschmitz mentioned this pull request Mar 26, 2016
@arschmitz
Copy link
Contributor

rebased fixed and landed on 1.5-dev

@arschmitz arschmitz closed this Mar 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.