Dhtmlx table format

I have a problem creating my dhtmlx table. The table is generated with the titles of the fields in the left side, instead of being on the top. Basically, columns are generated as rows. Do you know where the problem might be or any solution?

Thank you

Unfortunately your issue is not clear.
Could you please, provide a snippet of a using initialization code or a simple complete demo, where the problem can be reproduced locally.