store neotable code in a variable - Forum

Forum Navigation
You need to log in to create posts and topics.

store neotable code in a variable

I want to store a neotable html code in a textarea?

I used the below command but it does not work.

GetObjectHTML "BasicTableContainer" [x]

Uploaded files:
  • You need to login to have access to uploads.

Not sure why it's not working.
Anyway try this instead:

BeginJS
   $App["x"]=document.getElementById("BasicTableContainer").innerHTML;
EndJS

Regards.

Hi luishp,

How can I sort the neotable by a command? I can not find any command like this:

neoTableSortByColumn....

 

Hi @asmat, I have been looking at the original JavaScript library and I think that option doesn't exists. Take a look here:
https://bootstrap-table.com/docs/getting-started/introduction/

It's strange, but I think you should order the data before sending it to neoTable.
Sorry!