Bootstrap Table DATA-DATA-FIELD Not Changing ROWS

64
April 16, 2018, at 07:29 AM

I'm having an issue with bootstrap-tables. I don't know if I'm doing it wrong... or if it's a bug.

The 'data-data-field' seems to have no effect on changing the default 'rows' that are parsed within the json response.

The data is retrieved via the 'data-url' method, and attempting to add the param

<table 
  ...
  data-data-field="results" ... >

The response it is trying to parse is simplified below ...

{"count":"23433","next":"...","results":[{ "name":"demo", ... } ... ]}

Goal: Is to get 'results' as the array of rows instead of rows.

Any help is appreciated.

READ ALSO
Appending separate divs from selected items

Appending separate divs from selected items

I'm trying to display the text of only the selected items when the submit button is clickedThe issue I'm getting is all selected items get put into a single <div> element

76
Error parsing the date/time string: Wrong time format jquery timepicker

Error parsing the date/time string: Wrong time format jquery timepicker

I'm working with the datetimeRange from jquery timepicker but it keeps indicating that I have the wrong time format, even though it looks like everything is exactly the sameDoes anyone see where the problem is? I'm not sure if it's because of the UTC at the end

69
Boolean comparison == and === [on hold]

Boolean comparison == and === [on hold]

I'm trying to understand,

72
Extract external domain xml data with jquery

Extract external domain xml data with jquery

I have an error in the browser when extracting the xml data from an external domain through jquery ajax

82