Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kenneth E Bartlett

Pages: [1]
1
Help for ParamQuery Pro / Re: Inline edit not working for updates
« on: April 21, 2018, 03:17:23 am »
I found the issue.  I had incorrectly identified the recIndx object key name.  The key name I gave didn't exist.

2
Help for ParamQuery Pro / Inline edit not working for updates
« on: April 20, 2018, 08:39:10 pm »
I have been trying to get the inline edit to work for updates. I can get it to work for add and delete, but not update.  The main difference I see between my configuration and the demo for row editing is I am using local data instead of remote.  I do have the recIndx key added to my dataModel, so it should work, right? I also ensured I have trackModel: {on: true} in my grid options.

I have the update button sucessfully calling the update function, but when I add a console.log(grid.isDirty()) it always reports false and skips the code inside my if(isDirty()) block.

Is there something else I could be missing?  I am using version 5.1.0 of pqGrid and viewing the 5.x demos.

The only javascript I am loading is jQuery (1.12.4), jQuery-ui (1.9.2), pqgrid (5.1.0), and then my javascript file in that order.

Pages: [1]