{ handleClickRow(e, row); }} class={asStringArray([classNameRow, row.$expanded && classNameRowExpanded])}>
- {#each columns as col}
- | {handleClickCell(e, row, col.key);}} class={asStringArray([col.class, classNameCell])}>
- {#if col.renderComponent}
-
- {:else}
- {@html col.renderValue ? col.renderValue(row) : col.value(row)}
- {/if}
- |
- {/each}
- {#if showExpandIcon}
- handleClickExpand(e, row)} class={asStringArray(["isClickable", classNameCellExpand])}>
- {@html row.$expanded ? iconExpand : iconExpanded}
- |
- {/if}
-
- {#if row.$expanded}
-