[ 3 posts ]

Hakan

  • Username: hakan-bakkalbasi
  • Joined: Thu Oct 21, 2010 7:24 pm
  • Posts: 3
  • Offline
  • Profile

Generating no-JS, minimal markup DataTable

Post Posted: Thu Oct 21, 2010 8:47 pm
+0-
Hello -

Is it possible to render a DataTable with complete data, but minimal markup and functionality?

My service allows users to embed a widget that uses the DataTable into their website, via an iframe. Some users can't embed iframes due to their publishing platform's restrictions. Most platforms do allow custom HTML, however, so I'd like to provide users with a stripped down version of the widget - just the table's HTML source. The goal is for there to be as little markup as possible and to not use any JS or CSS tags - just a simple table, with the data complete and sorted properly.

I did a bit of reading and it seems like I should be able to construct this manually using DataSource but each time I go to begin, I am reminded of a million different considerations that DataTable and DataSource are making that I would need to reproduce.

Am I missing a better way to do this or am I over-thinking this? Thanks for your help.

Hakan

Satyam

YUI Contributor

  • Username: Satyam
  • Joined: Tue Dec 09, 2008 12:34 am
  • Posts: 2016
  • Location: Sitges, Spain
  • GitHub: Satyam
  • Gists: Satyam
  • IRC: DevaSatyam
  • YUI Developer
  • Offline
  • Profile

Re: Generating no-JS, minimal markup DataTable

Post Posted: Fri Oct 22, 2010 12:31 am
+0-
The only flavors of DataTable are DataTable and ScrollingDataTable, if you want anything less, with no functionality, use a plain HTML table.

Hakan

  • Username: hakan-bakkalbasi
  • Joined: Thu Oct 21, 2010 7:24 pm
  • Posts: 3
  • Offline
  • Profile

Re: Generating no-JS, minimal markup DataTable

Post Posted: Fri Oct 22, 2010 12:54 am
+0-
OK - thank you Satyam.
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum