Questions tagged [yui-datasource]

11 questions
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
2
votes
1 answer

How do you hook an event to a datasource in YUI?

http://developer.yahoo.com/yui/datasource/#events I'm trying to use the responseParseEvent but I don't know how to hook into into my datasource object because YUI doesn't provide any examples. Sidenote: Has anybody else noticed this with YUI? That…
FinDev
  • 4,437
  • 6
  • 29
  • 29
2
votes
2 answers

Using cellUpdateEvent with YUI DataTable and JSON DataSource

I'm working with a UI that has a (YUI2) JSON DataSource that's being used to populate a DataTable. What I would like to do is, when a value in the table gets updated, perform a simple animation on the cell whose value changed. Here are some relevant…
Rob Hruska
  • 118,520
  • 32
  • 167
  • 192
1
vote
1 answer

How do I make an XHRDataSource request to a Django server in YUI?

I'm using post, and the YUI documentation example code isn't working. YAHOO.util.Event.addListener(window,"load",function() { var columnDefs = [ {key:"url", sortable:true, resizeable:true}, {key:"title", sortable:true,…
FinDev
  • 4,437
  • 6
  • 29
  • 29
1
vote
0 answers

Converting the Inline Json Data to Remote Json File

I used the answer at : YUI 3 -Datatable with Paginator + Query Builder + Sort tried to for the samples http://jsbin.com/iwijek/10 and http://jsfiddle.net/UwjUt/ which have inline json data. I wanted to parse the remote json file for which I used…
1
vote
3 answers

Get full data set, sorted with YUI Data Table with Pagination

I hope I am describing my issue enough.. here goes: I have a YUI data table, get a server side set of records via JSON, and then populates the data. Users can click on the headers to sort the data in three of the 6 columns, (which are using a custom…
bkorte
  • 721
  • 1
  • 6
  • 13
0
votes
1 answer

Traversing an XML file using YUI 2.8 library

I have a requirement to parse/traverse an XML file using the YUI 2.8 library. From the YUI's manual page of DataSource, I could get info about how to get the XML file using XHRDataSource and then set the response type and response schema (understood…
Veera
  • 32,532
  • 36
  • 98
  • 137
0
votes
2 answers

How to cache YUI DataSource?

I'm setting up a YUI DataTable with filtering by following the steps on the YUI site However, I am using JSON as the DataSource ResponseType. When I type in a value to filter, the request will be sent to the server again. I find this to be…
Matt McCormick
  • 13,041
  • 22
  • 75
  • 83
0
votes
1 answer

YUI DataTable get total number records

I am new to YUI and I am using YUI 2 Datatable, I would like to alert if the total number of record is more than 4000 and not to render the table. below is my piece of code. this.myDataSource = new YAHOO.util.DataSource("
user2660409
  • 85
  • 1
  • 2
  • 13
0
votes
1 answer

yui datatable column dot notation displays nothing

YUI DataTable doesn't display values for 'dot.notation' keys (though there seems to be a weird trick that works). What's the best way to remedy this? I want a 'correct' answer, not the current one I have where I flatten nested objects AND retain the…
Jason Dunkelberger
  • 1,207
  • 14
  • 18
0
votes
1 answer

YUI3 DataSourceXMLSchema don't get HTML tags

I'm starting try to upgrade a webapp from YUI2 to YUI3 and get a litle issue when trying to upgrade the datatables, the table data are stored local in HTML table format, looking for tutorials and examples I can upgrade it easy and displayed well but…
Barceyken
  • 95
  • 4