{#if showFilterHeader} {#each columns as col} {/each} {#if showExpandIcon} {/if} {#each columns as col} {/each} {#if showExpandIcon} {#each c_rows as row, n} { handleClickRow(e, row); }} class={asStringArray([classNameRow, row.$expanded && classNameRowExpanded])}> {#each columns as col} {/each} {#if showExpandIcon} {/if} {#if row.$expanded} {/if} {/each}
{#if col.searchValue !== undefined} {:else if filterValues[col.key] !== undefined} {/if} {/if}
handleClickCol(e, col)} class={asStringArray([ col.sortable ? "isSortable" : "", col.headerClass, ])} > {col.title} {#if sortBy === col.key} {@html sortOrder === 1 ? iconAsc : iconDesc} {:else if col.sortable} {@html iconSortable} {/if} {/if}
{handleClickCell(e, row, col.key);}} class={asStringArray([col.class, classNameCell])}> {#if col.renderComponent} {:else} {@html col.renderValue ? col.renderValue(row) : col.value(row)} {/if} handleClickExpand(e, row)} class={asStringArray(["isClickable", classNameCellExpand])}> {@html row.$expanded ? iconExpand : iconExpanded}