how to clear table header

how to clear table header i want to parse new record different header and data.

not updating new records data parse.

here sample table.

https://snippet.webix.com/gjnlvzi0

You can redefine the column config
https://snippet.webix.com/c14cas8x

if you want autoConfig and have access to private properties you could use _autoDetectConfig() otherwise you would have to rewrite it yourself

without redefine the colum not possible to load json object autoconfig:true.

i want to parse multiple json object in webix datatable dynamic from database using autoconfig:true

every new json object are when i parse data only clear not clearing the colum.

It’s a shame this does not work with autoConfig and there is no way to clearAll() + remove table headers too… Could I ask for an enhancement request? This is very useful when creating an SQL interface…

Q: What would be a valid alternative?
Q: Can I create a new datatable dynamically every time I need to run a different query?

Thank you

@Lucaz

a) what does the && mean? like in bash?
Logical_AND
yes, in the snippet it is used like in bash
b) what does the Number.MAX_SAFE_INTEGER mean?
MAX_SAFE_INTEGER
I used it to remove all columns from array.

@Lucaz
check this
https://snippet.webix.com/end3c5bl

@intregal that looks like it! :slight_smile: going to try it out!
THANK YOU!

@intregal PERFET :slight_smile: - Thanks again.
2 questions
a) what does the && mean? like in bash?
b) what does the Number.MAX_SAFE_INTEGER mean?

Thanks again! Truly appreciated