Let a grid have custom ajax data url
i.e. instead of assuming we should GET the current "partial" page, can use a different URL altogether now
This commit is contained in:
parent
e6dff16550
commit
fd700e06f4
3 changed files with 10 additions and 1 deletions
|
@ -46,7 +46,7 @@ let TailboneGrid = {
|
|||
}
|
||||
|
||||
this.loading = true
|
||||
this.$http.get(`?${params}`).then(({ data }) => {
|
||||
this.$http.get(`${this.ajaxDataUrl}?${params}`).then(({ data }) => {
|
||||
this.data = data.data
|
||||
this.rowStatusMap = data.row_status_map
|
||||
this.total = data.total_items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue