You need to sign in to do that
Don't have an account?

Bulk Upload with Inlineeditsupport and a pageblocktable
If I have a Custom Controller and VisualForce page with a PageBlockTable and InlineEditSupport, what do I need to do to save the changes to multiple records in my PageBlockTable?
I tried
public PageReference SaveTiers(){ update tiers; setup(fields.id); return null; }
where tiers is a list<tier__c> and setup() grabs the list of tier__c and fills tiers. THe thing is, I got this working at one point, but after a refresh it quit working and now I can't get it to work at all.
I would post all my code, but it would just confuse more because it is complicated and calls a lot of outside classes. Suffice to say, all I want to know is how would I write a function that saves the changes to a list of records that were changed via the inlineediting ui in a pageblocktable?
Ok, When I change that function to a void as opposed to a PageReference and delete the rerender attribute of the button that calls it, the inline editing saves like you would expect, BUT, only the last record works. If I edit any other records besides the last one and save none of those changes are save.
I am experiencing the same issue.
I have a pageBlockTable which displays a list of dataComponents - a List<Solution_Component__c>;
and in my apex class my save method is as follow;
This will save the last edited row in the pageBlockTable but nothing above it and not sure why?
I am also facing the same issue. Page does not save any other records except last one. Did you find any solution? Please let me know.
Thanks
I faced this issue and the solution was to use the inlineEditSupport tag on an inputField level, rather than a column level.
Try doing something like this:
@wgoulding, that did not fix the problem for me. Can you confirm this?
EDIT: Actually scratch that. It works.