Tablerow is selected when table loaded?

Hey
Why does the rowSelect event trigger when table is populated with data from a dataset?

export function table1_onRowSelect(event) {
//Add your code for this event here:
console.log(event.rowData[“title”]);
}

This table is connected to a dataset and every time the table is loaded with data the first record in the dataset is triggered not the first in the table. I don’t wan’t this event to trigger until a user clicks the actual row.

Bug?

Interesting,
currently a dataset always has a selected item, so it synchronized all bound components to have that item as the selected one, hence you get the event fired.

I will pass this on to our relevant product manager and we’ll decide.
thanks!

It would be nice if the row selected on load does not fire events. While I start to create the CRM Solution this can’t happen because if it happens a lot of triggering events will occur when a page is loaded but user has not selected a client yet :slight_smile:

Hi Andreas,
we have confirmed this to be a defect (do you want to join our QA? ;-))

anyway, it seems this behavior happens only in preview mode.
in the published site, the event isn’t fired.

hope this helps…

1 Like

join qa? yes ofcourse

yes I wanto to join, how do I do this and what does it mean?

I was writing in jest… I meant that you found a defect that our QA guys have missed.
keep on coding!

1 Like

ah ok, thought I was going to be approved in the beta program soon