Home > front end >  Bootstraptreetable dynamic data show
Bootstraptreetable dynamic data show

Time:10-14

Value has been passed, but I don't know how to fill the data, also does not have the official document, you have what good way?

CodePudding user response:

See the demo, the demo data source, for your data source

CodePudding user response:

Is there's no way, the data. The json with no data in the url path

CodePudding user response:

The columns in the field for your own specific field name, return the data value is corresponding to the came out,

CodePudding user response:

https://www.jianshu.com/p/f090115c7f8f USES the jquery - the treegrid plug-in, so bootstraptreetable is similar to bootstraptable data format, there is a key field treetable pid, integer, and the key configuration treeShowField and parentIdField

CodePudding user response:

Because of the background data returned by the pid, so I don't know how to use JS processing into a desired format

CodePudding user response:

reference 5 floor Yin Zhou reply:
because of the background data returned by the pid, so I don't know how to use JS processing into a desired format
you don't post code, a great god also can't help you, what's more, I am a rookie

CodePudding user response:

Now that is a tree data structure, there must be a parent-child relationship field! Use this field to traverse the (front desk background can) data, generate pid, tuck complete data in no again

CodePudding user response:

I want to ask I have pid, and then the data is received or not to display, but form with treeTable. The init initialization tables will not display, please ask the bosses
  • Related