Basically I wanted to make sure nothing else was making requests to the API but the Angular app.
Does anyone have any ideas on this one?
I got this kinda working. The issue I am now having is the paging number on the bottom when I reload the table defaults back to 1 even though it is actually on what ever page it is supposed to be on.
So for example, I am on page 12. I update the status of one of the rows, the table reloads using that page 12. But the bottom left page result goes back to 1 even though the results are at page 12. Hope that makes sense.
But if I page using the navigation at the bottom of the table then it displays correctly.
I have a situation where a user can update a status from the Jtable and if they are on any other page but 1 then when the table refreshes after the update. It takes them back to page 1.
Is there away to pass the page number back to the jtable when it is reloading after a status update?
Is the Angular 4 version setup to send Antiforgery token with the PUTs, POSTs, and DELETEs? I was watching the posts in the dev tools and I do not see any Antiforgery token.
Perfect. I basically did something like this and it worked for me.
public startDate: moment.Moment = moment().subtract(29, 'days').startOf('day');
public endDate: moment.Moment = moment().endOf("day");
Thank you
I don't want to change it globally though. Just for a specific instance of the date range picker. Is there a way to do that?
Excellent, that worked perfectly.
thank you
I am using the date range in another view in my Angular 2 app. Is there away to default the date range to the last 30 days instead of today? For my use in the particular instance it makes more sense to use last 30 days instead.
In the Angular 4 version using the JTable when I use a Action menu in a grid and use it to go to a new view, the menu doesn't disappear until I scroll down.
Any help would be greatly appreciated.