how can we display dynamic number of rows in each page.

how can we display dynamic number of rows in each page.

raut_sushantraut_sushant Posts: 4Questions: 2Answers: 0

my requirement is to show details of one product on one page (number of rows can be diffrent for product to product), and i am having number of products.
how can achieve this using Datatables?

Answers

  • allanallan Posts: 48,301Questions: 1Answers: 6,970 Site admin

    You'd simply populate the table with the different number of rows. I'm not sure I fully understand the issue I'm afraid. How are you populating the table - there must be a variable I guess? Can you please link to a test page (as clearly stated in the forum rules).

    Allan

  • raut_sushantraut_sushant Posts: 4Questions: 2Answers: 0

    My Requirement is to display diffenrent number of rows in each page. means i want to display first product details on first page that may contain 2 rows. second product details on second page that may contain 10 rows.. i tried with 3D arrays, array of JSON objects but it doesn't worked.

This discussion has been closed.