Hello,
I have to make many similar tables and many columns will have either of the following format:
{ id:“varA”,
header:[
{text:“varA”, css:“multiline”},
{content:“numberFilter”}],
editor: “text”,
width:100,
sort:‘int’},
{ id:“varB”,
header:[null,
{text:“varB”, css:“multiline”, height: 60},
{content:“textFilter”}],
editor: “text”,
width:100,
sort:‘string’},
Is there a way to make these into templates such that for each column, I only have to specify the 1) id, and 2) header text name instead of having to copy these over and over again?