Skip to content

Show check/x for boolean values in spreadsheet view #102

Description

@sumanthratna

attempted:

<!-- <span>
<td x-show="typeof row[heading.key] === 'boolean'" class="border-dashed border-t border-gray-200" :heading="heading.key">
<svg class="w-6 h-6 mx-auto" x-show="row[heading.key]" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
heroicon: check
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<svg class="w-6 h-6 mx-auto" x-show="!row[heading.key]" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
heroicon: x
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</td>
<td x-show="typeof row[heading.key] !== 'boolean'" class="border-dashed border-t border-gray-200 px-6 py-3 items-center" x-text="row[heading.key]" :heading="heading.key"></td>
</span> -->

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions