In documentation it mentioned that if you use ‘render_tabel(‘mytable’);’ it will show all the columns dynamically.
But it is nit working.
actually it works if you mention all the columns that you want to show.
I have 21 tables and each one has so many columns that I want to get the table name from users and show all the columns dynamically without mentioning the columns one by one.
This is a limitation.
Is there anyway to see all the columns of a table???
Maybe in php we need to add some functions to do this.
Thank you so much,the issue has been solved, But one more clarification if you do not mind:
the issue is “name of the identity field (optional)” in render_table.
As I understood it should be “integer” I meant “int” or “PRIMARY KEY”.
But in documentation it mentioned that this is optional.The issue is in reality I donot have a unique primary keys or integer keys as ID in my tables.Because all of my tables are very old and they are being updated by other program.
How can I solve this issue? to remove this limitation of mentioning the “Id” ?!
In advance thanks for your kind support.
Thanks a lot, although I found the answer by myself
1.There was an error in db_sqlsrv.php in line30 that I deleted that function and issue has been solved.
2.And another issue was related to date format which I converted to string and the issue is solved.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan