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.

Default row selection not working

See original GitHub issue

Hey, I am trying to specify the default selected row but it does not work for me:

let selectRow = {
            mode: 'checkbox',
            clickToSelect: true,
            selected: [1],
            onSelect: this.onExistingContactRowSelect
        }

Even though I have an entry in my table with the row key = 1, the entry is not selected by default on initial render.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AllenFangcommented, Mar 6, 2018

@aaj5956 we support default selection, check release note

check online demo

Let me know if you have any questions, thanks

1reaction
joshiatharva93commented, Feb 25, 2018

No problem. @AllenFang Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DataGridView Default Row/Cell select issue - Stack Overflow
If i leave the default row selection, SelectionChanged fires 4 times when its loaded which I don't want it to fire at all....
Read more >
UIPickerView can't pre select a row | Apple Developer Forums
For the app I'm working on, what I'd like would be that when the view show, the pickerview view is already at a...
Read more >
Default row selected - Microsoft Power BI Community
examle: I have 5 records in a table and want 1 row selected by default to show that perticular visual details into bar...
Read more >
Row Selection Only Works Once | Infragistics Forums
The grid allows me to make the first selection just fine. However, after the first selection, clicking on any other rows fails to...
Read more >
Solved: Default selected row in drop down not working
Default selected row in drop down not working. ‎10-11-2021 05:22 AM. Hi there,. I have a label which contains a value limited by...
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