question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Columns don't update

See original GitHub issue

Griddle version

1.2.0

Expected Behavior

I should see the column b and hide column a.

Actual Behavior

Column a is visible, but column b is not.

Steps to reproduce

  • Set data [{a:5}] and column defs [{id:'a'}];
  • Set data [{b:5}] and column defs [{id:'b'}];

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dahlbykcommented, Apr 9, 2017

Can you provide a more complete example of the code you expect to work? The row/col definitions are processed into renderProperties of the initial state for the Redux store (code). This seems a reasonable optimization to me, given that grids are typically used to render data with consistent shape.

1reaction
dahlbykcommented, Apr 9, 2017

AFAIK, column defs are only processed when the component is initialized. Try using actions.toggleColumn on ‘a’ and ‘b’ instead?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sharepoint list columns do not update - Microsoft Power BI ...
Hi I have got a connection to a sharepoint list and gets all the new data in the former columns in but the...
Read more >
Power Query Update doesn't keep customn columns after a ...
To keep the custom column, data and format, you have to go to Data -> Properties and uncheck the Adjust column width and...
Read more >
Interactive Grid columns not updating - Oracle Communities
I have this interactive Grid I have built with APEX 5.1 and all was working fine. But now I have 2 columns that...
Read more >
SharePoint Columns Don't Update After Successful JSOM ...
Simple answer. You recreate the SP.ClientContext in the onLoadListItemsSucceeded function, so you don't actually call update for the ...
Read more >
Ultimate member field, dont update. - Admin Columns Pro
Ultimate member field, dont update. Hello, on the users page, I have added a custom field that comes from the user record with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found