Dynamic number of columns / table from php

Hello
I have a php script that have query into MySQL table and transformed it to cross table(records in 1.col as columns, records in 2.col as rows and records in 3.col as values) and print that table. Is there any options how can I show that cross table in dhtmlx grid? Or how can I make cross table in dhtmlx grid which have dynamic number of columns depends on numbers of records and name it after those records in column and also “named” rows named after other column.

cross table looks like this example eb

Unfortunately such feature is not supported