ember-table
ember-table copied to clipboard
Pass metaData to onSelect (and allow custom metaData properties)
trafficstars
Please could the rowMeta be included in the array that is passed to onSelect?
Each of my row items has an id that I do not want to display to the user, but is needed for internal identification. My current solution is the use the body.rowMeta.index to cross reference it with my original rows data. However, this means that I cannot use the inbuilt selection, as onSelect does not pass the rowMeta and so I have no way of getting the id.
Following on from this, is would be really helpful if I could add my own items to rowMeta, so that I can access the id directly without having to look it up based on the index.