• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Jquery Nested DataTables : Help needed in Understanding the code I found on Internet

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Fellow Programmers,

Please Help me with this problem

Problem statement : I am working on jquery datatables. I am getting json data from an AJAX request and making the table in jquery and call dataTable on that.

I am not posting the actual code but trying to explain what I have already done

this is the code I have written in Jsp







now I have a requirement that on expansion of each row I want another datatable to be displayed on another ajax call.

I found this example on the internet but couldnot find out how can I adjust this according to my requirement.

the code on the internet is as follows





I couldnot understand how each row is being captured and how a new table is being formed?? It would be great if somebody could explain me.

JSFIDDLE :Jsfiddle for nested datatable

 
eat bricks! HA! And here's another one! And a tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic