You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I specify 2 columns in my columns attribute, then have that third column defined via template, then there ends up being just 2 th's in the <thead>. How do I specify a third column, one where I can do something like {label: 'myField'} (I can't b/c field is required, which I don't need b/c I'm defining it myself). Screenshot below. Thanks!
The text was updated successfully, but these errors were encountered:
ianhd
changed the title
If I add a template wit slot='table-row-after', there is a missing th
If I add a template with slot='table-row-after', there is a missing th
Dec 10, 2017
@ianhd you'll need to specify the header for the third column as well. Field in this case is optional (I will update the document to reflect this). the template is only for the row data. so your columns should look something like:
How do I specify a column for my custom template column?
Example:
If I specify 2 columns in my
columns
attribute, then have that third column defined via template, then there ends up being just 2th
's in the<thead>
. How do I specify a third column, one where I can do something like{label: 'myField'}
(I can't b/cfield
is required, which I don't need b/c I'm defining it myself). Screenshot below. Thanks!https://i.imgur.com/DcoiV7U.png
The text was updated successfully, but these errors were encountered: