{#if projects && itemModels && lines} { if (ev.detail !== undefined && projects !== undefined) handleRowFocused(projects[ev.detail]) }} on:check={(ev) => { if (ev.detail !== undefined && projects !== undefined) onObjectChecked([projects[ev.detail.row]], ev.detail.value) }} > {#each itemModels as attributeModel, attributeModelIndex} {#if attributeModelIndex === 0} {:else if attributeModelIndex === 1} {:else} {/if} {/each} {:else if loadingProps !== undefined} {#each Array(getLoadingElementsLength(loadingProps, options)) as _, rowIndex}