hi,
I have a ADF table with 2 input columns and remaining are output text columns. Now when a user creates a new record and saves it I need to make the first input column as "Read Only". And After entering some records into the table now there is a flag which locks the table. So when the user sets this flag I need to make all the existing rows in ADF table as read only, but users should be able to delete existing rows and add new rows.
Is there a way to achieve this ?
Second question is -
The ADF table is shown as editable table with two input columns. It is a view object dropped from data controller. Now when the page is loaded, I need to make sure that atleast 4 rows are shown in the table ( If the view object is retrieving more rows from database then show them else if the number of rows in the database table is less than 4 then I have to show 4 rows). How do I get the ADF table to behave this way programmatically. Initially I thought of doing it when page load happens but I am not able to figure out how to do it. Any help on this will be appreciated.
Thanks.