Skip to content

[FEATURE] Autogenerate tables from custom attributes #15

@kennethphough

Description

@kennethphough

Is your feature request related to a problem? Please describe.
The current KyteTable class can be configuration heavy. It would be nice to be able to autogenerate tables on load using custom classes and attributes.

Describe the solution you'd like
A rough example would be to generate tables in a div tag like this:

<div class="kyte-data-table" 
     kyte-dt-model="Customer" 
     kyte-dt-columns="id,name,email" 
     kyte-dt-detail-page="/app/customer/" 
     kyte-dt-sortable="true" 
     kyte-dt-column-order='[{"index":0,"dir":"desc"},{"index":1,"dir":"desc"}]'></div>

Additional context
Will need to figure out how to implement advanced table customizations.

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