Does anybody have a link to a polymer 2 example repository that uses the expandable rows functionality on a data grid?
I have only found this documentation link https://www.predix-ui.com/#/develop/data-grid/expandable-rows but I'd like to see it in action.
Cheers
Answer by Grace.Montoya@ge.com · Feb 05, 2019 at 08:25 AM
So it turns out expandable rows functionality can only be added to px-data-grid . The px-data-grid-paginated component doesn't support the expandable functionality. Here is an example:
<px-data-grid id="myGridExpand" table-data='{{_tableData}}' columns='[[_myColumns]]' filterable editable
auto-filter highlight='[[_highlightData]]' hide-action-menu resizable ellipsis=true >
<template class="row-details">
<!-- Row details template -->
My hidden text.
</template>
</px-data-grid>