The first datatable, work fine headermenu, in second example only show firts column because I use css style for header, I resolve, if add custom data in headermenu, like third example.
For me, third example work fine, but, if someboy have this problem.
By default, <div> has display:block property, so the value is moved to the next row, which is not visible with headermenu’s default height and hidden overflow. You need to use <span> instead of <div> or add the additional styling.