Questions tagged [yui-datatable]

The YUI DataTable control provides a simple yet powerful API to display screen-reader accessible tabular data on a web page. Notable features include sortable columns, pagination, scrolling, row selection, resizeable columns, and inline cell editing.

Docs

120 questions
20
votes
4 answers

Do javascript variables have a storage limit?

Do javascript variables have a storage capacity limit? I'm designing one YUI datatable where I fetch the data from database and store it in a js object and wherever required I'll extract it and update the YUI datatable. Right now in Dev I've very…
Ajay Gangisetti
  • 431
  • 2
  • 5
  • 13
11
votes
2 answers

Why does datatable not print when looping in rmarkdown?

I am working on creating a dynamic rmarkdown document. The end result should create a tab for each 'classification' in the data. Each tab should have a datatable, from the DT package, with the data printed to it. Below is the code I have been…
Richard Lusch
  • 1,050
  • 10
  • 19
8
votes
2 answers

Exporting data from a YUI DataTable

What's the easiest/fastest way to grab data out of a YUI DataTable and turn it into a single CSV or TSV string? I basically just want to implement a one-click way to get the entire DataTable (it should preserve the currently-applied sorting) into a…
Matt Ball
  • 354,903
  • 100
  • 647
  • 710
7
votes
1 answer

Is there any method to callback a function when user click on pagination link in jquery datatable?

I want to call a java script function when user click on pagination link in jquery datatable. How can i do that?
Manivasagan
  • 212
  • 1
  • 6
  • 17
5
votes
2 answers

Display JSON object in YUI Datatable

I'm trying to display the following JSON object using YUI DataTable. I was able to show the lastName, firstName, startDate, employeeCode, employeeStatus successfully in YUI DataTable. But I couldn't show the values in the inner object. In the…
libregeek
  • 1,264
  • 11
  • 23
4
votes
1 answer

Client-side filter of YUI Datatable with select list?

Can I filter the rows of a static dataset using multiple drop-down menus and a paginated YUI datatable ? http://www.mappingbahia.org/project/iguape_dataset.html
Jason
  • 41
  • 3
4
votes
1 answer

How to use YAHOO.util.Connect.asyncRequest and return results?

I'm using YAHOO.util.Connect.asyncRequest to get data from database, here is the code : function getCountArticle(contentCurValue) { var handleSuccess = function (res) { var countPubmed = YAHOO.lang.JSON.parse(res.responseText); var…
Fabien Barbier
  • 1,514
  • 4
  • 28
  • 41
4
votes
3 answers

statesave not working with datatables when rows are added dynamically

I am using DataTables and I initialize the table with $(document).ready(function() { $('#example').dataTable( { stateSave: true } ); } ); I populate my table dynamically using $('#example').row.add(...) When I reload or revisit my…
user3871397
  • 81
  • 1
  • 2
3
votes
3 answers

How to set width for YUI-data table dynamically based on max size of Column

I have a YUI datatable and I am putting the following data in the table: {key:"name", label:"name", editor: nameChoiceEditor}, {key:"group", label:"group", editor: groupChoiceEditor}, {key:"colony", label:"colony", width: 210, editor:…
srini
  • 6,719
  • 8
  • 32
  • 36
3
votes
1 answer

yui, form submission and data table

I'm a Java programmer, but not a JavaScript programmer. I have just discovered YUI, and am trying to get started using it. What I'd like to try and do is have the query form at the top of the page, the user press Submit and the results show up in a…
Gary Kephart
  • 4,860
  • 5
  • 39
  • 52
3
votes
1 answer

How can I get the checked state of a CheckBox in a YUI DataTable to be set by the data in the datasource?

I've been googling this all day and can't seem to find an answer. Also searched here of course, and also didn't find it, but please forgive me if I've missed the answer somewhere. I did try! I have a YUI DataTable that contains a CheckBox field. I…
3
votes
1 answer

ASP.NET MVC with YUI

I am using ASP.NET MVC 2. I have played around you the YUI samples that can be found on http://developer.yahoo.com/yui/2/. I have been wondering if any one has had the time to use the YUI controls in an MVC app? I want to start using the datatable…
Brendan Vogt
  • 25,678
  • 37
  • 146
  • 234
3
votes
1 answer

Call click event on last clicked row in YUI datatable

I have a YUI datatable and I have a function which is invoked when I click on a row: ... YAHOO.keycoes.myDatatable = myDatatable; ... myDatatable.subscribe("rowClickEvent", oneventclickrow); var oneventclickrow = function( args ) { ... } I'd…
Javi
  • 19,387
  • 30
  • 102
  • 135
3
votes
1 answer

How can I find the checked rows in a YUI DataTable?

I'm using a YUI DataTable with a checkbox column like this: var myColumnDefs = [ {key:"check", label:'', formatter:"checkbox"}, {other columns...} ]; How can I iterate over all the rows that have been…
Justin Tanner
  • 14,062
  • 17
  • 82
  • 103
3
votes
2 answers

Why my yui datatable within an updatepanel disappears after postback?

I got my YUI datatable rendered with my json datasource inside an updatepanel... If i click a button within that updatepanel causes postback and my yui datatable disappears Why yui datatable within an updatepanel disappears after postback? EDIT: I…
ACP
  • 34,682
  • 100
  • 231
  • 371
1
2 3 4 5 6 7 8