If you want to display an idividual headline-row above your fields, you can use the “head“-argument. By this argument you put an individual text on each single column.
Syntax
[[jsdatatable cat=YourCategory cols=YourColumn1,YourColumn2,YourColumn3 head=YourText1,YourText2,YourText3]]
EXAMPLES:
[[jsdatatable cat=YourCategory cols=title,City,published,Money head=Company,Where,Date,Costs]]
[[jsdatatable cat=YourCategory cols=title,City,published,Money head="The company is,Where is it located?,Date,How much?"]]
Defaults
If you don’t use the argument “head” in the shortcode, for each field the name of the field will appear in the tablehead (first character = upper-case).
Notes
#1:
“head” refers directly to “cols“! Therefore please use the same sequence!
#2:
Use quotation marks if spaces should appear inside your text.
HEAD ⇒ Some live examples
Please click on the links below and check out the difference:
[jsdatatable tag=example-head cols=pos,title,comment head=”POS,Use this shortcode:,Note” orderby=pos dropdown=off searching=off navinfo=off]