-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
w2gid: custom recid field not recognized #1353
Comments
you can use the 'recid' { field: 'recid', caption: 'keygrid', size: '100px', hidden: true }, |
This is not explained on your website, the only thing I'm using is described here: [http://w2ui.com/web/docs/w2grid.recid] |
It appears to work when the data is loaded AFTER object creation. That is, use grid.load() or grid.add() to supply the data after setting everything else up. |
@BBE78, I have just checked recid in 1.4.3 and it is working for me. If you specify it before load is triggered, then on load it will add recid to all records based on some other id. Please create jsFiddle where the problem is illustrated. |
in 1.5.rc1 setting the custom |
There are 3 types of calls that grid is doing. Get records - recid is not used in this call. Delete records, I have changed the code to submit custom recid and Save changes - I have changed the code to submit custom recid. Download latest code from /dist and you should be golden :) |
Thanks for the cleanup, please adapt the documentation likewise.
|
Yet another review result: The code in w2grid.js is still POSTing 'cmd' instead of 'action' and uses 'recid' and not the configured recid property name. |
Hi,
On v1.4.3, the custom recid definition doesn't work properly:
The text was updated successfully, but these errors were encountered: