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

polachanpolachan Posts: 101Questions: 50Answers: 0
edited March 2019 in Free community support

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

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @polachan ,

    The best bet is to use columns.render and do the sum in the there. If that doesn't work, consider using createdRow,

    Cheers,

    Colin

  • polachanpolachan Posts: 101Questions: 50Answers: 0

    Colin
    When get chance, would you mind if I ask to help me with suggested code in my example please
    https://jsfiddle.net/931r0vqw/

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    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

This discussion has been closed.