Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

OJ-Table limiting display rows to 500

Hi JB,

I'm using oj-table and data for that i'm getting through rest API. The rest API returns around 995 records (i.e., 995 rows). and i'm using array data provider. But table is displaying only 500 rows from it.

OJET Version: 12.1.0

OS: Windows 11

JS:

$.ajax({

            url: url, type: 'GET', dataType: ‘json’

            success: function (response) {

                var linesTableArray = response.items;

                self.linesTableArray(inconstants.linesData);

                self.linesTableDP(new ArrayDataProvider(linesTableArray));

            },

            error: function (data, e) {

            }

        })

Html:

<oj-table id='linestable' aria-label='Invoice lines Table' data='[[linesTableDP]]'

            columns='{{linesTableColumnsArray}}' columns-default='{"sortable": "enabled"}' display='grid'

            style='width: 100%;max-height:500px;'>

        \</oj-table>

linesTableColumnsArray is the table columns.

Comments
Post Details
Added on Mar 21 2024
0 comments
31 views