displaying multiple data in columns( using rowspan)

displaying multiple data in columns( using rowspan)

pankaj3145pankaj3145 Posts: 10Questions: 3Answers: 0

hi i need to display mutiple designation like software developer ,software tester,senior tester etc one below other in designation column but i am not able to achieve it
my data is coming from mysql

Answers

  • pankaj3145pankaj3145 Posts: 10Questions: 3Answers: 0

  • kthorngrenkthorngren Posts: 20,144Questions: 26Answers: 4,736

    Rowspan is not supported by Datatables in the table rows. Maybe you can post more details about your data structure and how you are grouping the multiple designation. Maybe the Rowgroup Extenstion will help group the data.

    Kevin

  • pankaj3145pankaj3145 Posts: 10Questions: 3Answers: 0
    edited November 2018

    designation is coming from transaction table code for retrieving data to front end is like this

     th= user.getDataValue('po_value')
                    if(user.getDataValue('transaction_tbls').length > 0)
                      for tr in user.getDataValue('transaction_tbls')
                        th= (tr['dataValues'])['designation']
                        th= (tr['dataValues'])['quantity']
                        th= (tr['dataValues'])['rate']
                    else
                      th
                      th
                      th
    
This discussion has been closed.