Quantcast
Viewing all articles
Browse latest Browse all 82127

Table with two columns and the header row grouped

Hello everybody,

I have the following JSON:

[{id:1, description:Test1}, {id:2, description:Test2}, {id:3, description:Test3}]

I want my table like this:

|---------------------------|
|My Records................ | --> Colspan 2
|---------------------------|
| img + link | Test 1......|
|---------------------------|
| img + link | Test 2......|
|---------------------------|
| img + link | Test 3......|
|---------------------------|

ps: The dots is used only to align the table.

I'm trying use aoColumnDefs, but, always appears two columns on row header.

How can I do it?

Viewing all articles
Browse latest Browse all 82127

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>