• k11.39489904004601E12
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi, I am trying to put inputField in cells of pageBLockTable, I am using apex:repeat for dynamic columns and there I am putting the inputField which referes to a element of 2D array in the following way
<apex:pageBlockTable value="rows" var="rowIndex">
<apex:repeat value="{!columnIndexes}" var="columnIndex"> 
            <apex:column style="width:70px">
                  <apex:inputField value="{! game[rowIndex][columnIndex].value__c}"  style="width:70px"/>
           </apex:column>
<apex:repeat>
</apex:pageBlockTable>

But on server side I am getting only value for the last item of game 2D array. Is there anything which I am missing. Or value does not bind wihth multidimensional array.

Any any pointers would be very very helpful.