function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
padmini sspadmini ss 

Pageblock Table Must Take Input & Dispaly Related Output In a Single RowHello,

I have a requirment like in a pageblock table, in a sinlge column i want to take input value(lookup filed),
Based on that 'lookup' inputfiled, i want to display related record in the remaing columns of Table.(In a sinlge Row)
Example:
in first column, i must take inputvalue(lookup to accout),
in the remaining column, same row i want to display(outputfiled/outputtext) of name, phone, rating...etc fileds.
Can any help me,
User-added image
But this is not working, i am able to display single row, unable to hold previous values
Mikola SenykMikola Senyk
You have to make property - List<Account>. Each click on "Add Attendee" button you need to add value to this list (new Account()).
In the 'lookup' input field you can setup "onchange" event and to update other columns in row.