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

Refresh method in table widget is not working well. #6698

Closed
wants to merge 1 commit into from

Conversation

allsteady
Copy link
Contributor

Hi all.

I found an abnormal operation of refresh method in Table widget.

This bug can be reproduced through the following scenario.
Step 1. The mode of table is ‘columnToggle’.
Step 2. Hide columns in the table via click event.
Step 3. Call Refresh method.
Step 4. Only title column is displayed. (Data columns are never displayed.)

If you visit here and then click ‘execute macro’, you would see the malfunction.
URL : http://hyunsook.github.io/jqm-debug/latest/table_refresh_columntoggle_bug.html

This PR contain the solution and modified codes.

If you visit here, you would see the normal operation.
URL : http://hyunsook.github.io/jqm-debug/latest/table_refresh_columntoggle_fix.html

If there are any problems or mistakes on that PR, please let me know.
Thanks in advance.

@gabrielschulhof
Copy link

@allsteady does this fix #6673?

@gabrielschulhof
Copy link

OK, it fixes #6673 (comment), but not #6673.

@arschmitz
Copy link
Contributor

@allsteady can you please add a test for this

@gabrielschulhof
Copy link

Moved this commit to #7086, where I fixed the author's real name, and I added a test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
3 participants