Disable default first row selection on Interactive Grid – Oracle APEX

By default the first row is selected in any Interactive Grid.

Every time user has uncheck the first row and then select again the row where he want to add new row.

Here is a quick solution to get the first row unchecked in an interactive grid.

Step 1 > Go to “Attributes” of your Interactive Grid region properties.

Step 2 > Go to the option JavaScript Initialization Code of Advanced section.

Step 3 > Paste the below code.

                       function(config) {

                                       config.initialSelection = false;

                                       return config;

                                        }

Now run your page and you will see first row of Interactive Grid is unchecked.

When you click on Add Row button , row will be added into first row of your IG report instead of second row.

Thanks

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *