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 YUI DataTable below the query form.
Normally, of course, on a HTML form the user presses ...
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 sort function for each column). The sorting is done client-side.
When a user sorts th...
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 snippets of code:
var columns = [
{key: 'foo'},
{key: 'bar'},
{key: 'baz'}
...
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 wasteful as all the data has already been retrieved the first time.
Is there a way to cache the...
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, resizeable:true},
{key:"count", sortable:true, resizeable:true}
];
this....
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 it after so many readings :P ).
But, after setting up the DataSource, I don't know what...
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 their documentation doesn't contain nearly as many examples as jQuery?
...