You need to sign in to do that
Don't have an account?
jatin parashar 11
how to make dynamic header and columns and its values in lwc??
how i make the table dynamic in lwc...like:--
<template for:each={getinfo} for:item="item">
<table>
<thead>
<tr key={item.Id}>
<th></th> (i want it to make it dynamically according to requirement in for each loop.)
</tr>
</thead>
<tbody>
<tr key={item.Id}>
<th></th> (i want it to make it dynamically according to requirement in for each loop.)
</tr>
</tbody>
</table>
</template>
<template for:each={getinfo} for:item="item">
<table>
<thead>
<tr key={item.Id}>
<th></th> (i want it to make it dynamically according to requirement in for each loop.)
</tr>
</thead>
<tbody>
<tr key={item.Id}>
<th></th> (i want it to make it dynamically according to requirement in for each loop.)
</tr>
</tbody>
</table>
</template>