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.

How to update data?

See original GitHub issue

I am new with mutable data,

How to update row in this listView?

I tried to use map and than reset state… it`s not working

select(filter) {
        const dataSet = this.state.dataSet.map((obj) => {
            obj.selected = isEqual(obj, filter);
            return obj;
        });

        console.log(dataSet.toJS());
        this.setState({
            dataSet
        })
    }

dataSet updated… but listVIew… not rerender new row… how to deal with this?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
cooperkacommented, Jan 30, 2017

@Stormsher I recommend starting over from scratch and adding one new feature at a time until it breaks again. Then you’ll know exactly what it is that causes the problem. I unfortunately can’t go on a wild goose chase for you, as much as I would like to help.

If you find a real issue or a specific problem, please post it here and I’ll do what I can to resolve it!

1reaction
Stormshercommented, Jan 30, 2017

Excellent, you think if it works for you, it will work anywhere…

Example is braked… it`s not working normally…

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL UPDATE Statement - W3Schools
The UPDATE statement is used to modify the existing records in a table. UPDATE Syntax. UPDATE table_name. SET column1 = value1, column2 =...
Read more >
SQL UPDATE: How to Update Database Tables - Simplilearn
SQL UPDATE✔️helps to update existing records in tables with the help of the update command. Read on and learn the syntax for...
Read more >
SQL UPDATE: Modify Existing Data in a Table By Examples
To change existing data in a table, you use the UPDATE statement. The following shows the syntax of the UPDATE statement: UPDATE table_name...
Read more >
How To Update Data in SQL - DigitalOcean
Following the UPDATE keyword is the name of the table storing the data you want to update. After that is a SET clause...
Read more >
SQL - UPDATE Query - Tutorialspoint
The SQL UPDATE Query is used to modify the existing records in a table. You can use the WHERE clause with the UPDATE...
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