Responsive : Cell contents in child rows change to [object Object] when table resized

Responsive : Cell contents in child rows change to [object Object] when table resized

conacona Posts: 6Questions: 1Answers: 0

I have a responsive table that uses an Ajax call. When the table is original size the cell contents display fine but when the table is resized to show child rows , the cell contents that are derived from nested objects (last 3 columns below) display as [object Object]. When the table is expanded then the cell contents are rendered OK.

columns : [
{ data: null, render: function ( data, type, row )
{ return data.producer+', '+data.name;}
},
{ "data" : "country"},
{ data: null, render: function ( data, type, row )
{ return data.region + (data.subregion ? ', '+data.subregion : '' ) + ' '+(data.vineyard ? ', '+data.vineyard : '' ) }
},
{ "data" : "type"},
{ "data" : "vintages[].vintage"},
{ "data" : "vintages[].bottles[].rack"},
{ "data" : "vintages[].notes[].source"}_

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.