How can I show the another column value on the raw group of employee name
How can I show the another column value on the raw group of employee name

I have a data table to show employee holiday Entitled and Remaining Holiday. On this data table I would like to show the Entitled Holiday and Remaining holiday of each employee , on the group header of Employee . Holiday Entitled, Rem Holiday should not be shown on the detail line. But it should be shown on Employee group header row of the employee and below the corresponding column.
In details line, Date of holiday , Holiday Hrs, Comment only should be shown.
Please can you help me to make that report. I am kindly looking for the help from you.
https://jsfiddle.net/931r0vqw/
With Many Thanks
Pol
Answers
Hi @polachan ,
The best bet is to use
columns.render
and do the sum in the there. If that doesn't work, consider usingcreatedRow
,Cheers,
Colin
Colin
When get chance, would you mind if I ask to help me with suggested code in my example please
https://jsfiddle.net/931r0vqw/
Hi @polachan ,
The forum is for help with specific questions, generally where something is tried but not quite working. Most responses are from people replying in their own time, so you may or may not get an answer.
As I said in our PM, if you want bespoke support, such as tailoring the software to suit your needs, DataTables offers support packages such as these here.
Cheers,
Colin