1

I have the table with 100 records at the first time the page loading i want to display only 10 records and the more link if the link is clicked display 10 more records the records are populated from the oracle database. I don't know how to use the oracle contents in javascript or ajax .

Please Reply .

4 Answers 4

2

You could try it in jquery more or less like this

$("#tableID").find('tbody')
    .append($('<tr>')
        .append($('<td>')

        )
    );
Sign up to request clarification or add additional context in comments.

Comments

1

You can use DataTables.

It handles the client side displaying of the Data. There you have to implement the server side logic. Further it comes with pagination and searching.

https://datatables.net/examples/data_sources/server_side.html

Comments

1
   $('table > tbody:last').append('<tr><td>...</td></tr>');

Jquery my way to append a row dynamically.

1 Comment

Put the above code in a for loop for 10 records. then repopulate
1

You can take a look at Calling an Oracle Function via Ajax for on the spot Validation Purposes in Oracle APEX v4.2.2 If you can call oracle function with ajax then it should be easy to have your required changes. if you have any other scripting language involved in server side then you'll get lot's of different ways

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.