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.
Questions tagged [yui-datatable]
120 questions
2
votes
2 answers
YUI Datatable Column Filter
Does anyone know of any plugins/extentions to the YUI Datatable that will allow column sorting similar to how a sharepoint grid works.
I'm looking for something that works/looks a bit like this from sharepoint (click on the clumn header, and a drop…

TehOne
- 2,569
- 3
- 26
- 36
1
vote
1 answer
How to add a column after some specific column in YUI data table?
I am using YUI2 datatable.
consider the following scenario.
var myColumnDefs = [
{ key:"A", label:"A", sortable:true},
{ key:"C", label:"C", sortable:true}
];
// i want to add this column after A.
…

vinesh
- 4,745
- 6
- 41
- 45
1
vote
1 answer
How to do Client side pagination for filtered data
YAHOO.util.Event.addListener("genes", "change", function(e) {
var value = YAHOO.util.Event.getTarget(e).value;
if(YAHOO.lang.isValue(value)) {
myDataTable.getDataSource().sendRequest(null, {
…

odaiah
- 11
- 2
1
vote
0 answers
Making a YUI3 treeble
I have been looking at YUI3 for about a week or two and am very much impressed by it. I came across the this example for making a tree table in YUI 3 (called treeble). I also had a look at YUI 2 and it seems that many of the utilities present in…

aditya_gaur
- 3,209
- 6
- 32
- 43
1
vote
1 answer
How to make YUI datasource parse Null values in the dataset?
I am using YUI datatable and datasource to render data in one of my projects. The data returned happens to be NULL and YUI datasource is unable to parse it.
Below is the declaration code of datasource and datatable. For readability sake, I am…

MM.
- 2,535
- 2
- 17
- 13
1
vote
2 answers
How can I avoid EXTjs with YUI-based alternatives to EditorGridPanel and ColumnTree?
There's some discussion at my work about using Jack Slocum's EXTjs library as an extension to YUI (already in use) for a project in development. I'd like to help avoid a dependence on EXTjs's commercial licensing model if possible.
The primary two…

danieltalsky
- 7,752
- 5
- 39
- 60
1
vote
1 answer
How best to synchronize a YUI DataTable's RecordSet with a JavaScript array?
I have a javascript array that I am using as a data source in an editable YUI datatable:
var data = [
{ Col1: "one", Col2: 1 },
{ Col1: "two", Col2: 2 },
{ Col1: "three", Col2: 3 },
{ Col1: "four", Col2: 4 }
];
var…

Chris Farmer
- 24,974
- 34
- 121
- 164
1
vote
1 answer
YUI Datatable Not Taking JSON
I am trying to fill a Datatable with a JSON using YUI,
I have this…

Doug Molineux
- 12,283
- 25
- 92
- 144
1
vote
1 answer
How do I specify the return value in a custom YUI cell editor?
I created a custom cell editor that extends BaseCellEditor but how do I specify the value of the cell that will be saved/returned?
Setting the this.value = "new value" doesn't work.
Any ideas?
Thanks in advance.

FinDev
- 4,437
- 6
- 29
- 29
1
vote
1 answer
When no data is returned from database
I am intiating a loading panel in init method and hiding it in ReturnDataPayload event.This is working perfectly when data Table has got some values in it.But when there is no data returned from database , the control is not going to…

Mithra
- 11
- 1
1
vote
1 answer
Use YUI 2's Rich Text Editor for Inline Editing
I am using inline editing in YUI 2's DataTable. I would like to use the Rich Text Editor for this, but it is not among the built-in options. Does anyone know of code that does this or how one might go about integrating it?

Stephen Cathers
- 113
- 1
- 6
1
vote
0 answers
Load, edit, and download a csv file in shiny
I am trying to load a csv file to a shiny program, edit it in place and download the edited file. I found that the package DT provides some functionalities for the same. I modified the example here to read csv from the file and example here to write…

discipulus
- 2,665
- 3
- 34
- 51
1
vote
1 answer
Sorting Problem in date format(mm/dd/yyyy HHMMSS) using YUI
I won't be able to sort the column which has the date format(mm/dd/yyyy HHMMSS) by using YUI YAHOO.widget.DataTable.formatDate
Please help me out on this problem
Regards

pawan
- 11
- 2
1
vote
1 answer
How to access selected row in a AlloyUI Data Table
Im using AlloyUI 3.0.
I used the code above:
YUI().use(
'aui-datatable',
function(Y) {
var columns = [
{label: 'ID', key: 'id'},
{label: 'Project Name', key: 'name'},
{label: 'Created At', key:…

Maximiliano Nunes Catarino
- 518
- 3
- 6
- 13
1
vote
1 answer
How do I show character count in YUI when editing a cell?
In the YUI datatable I want to limit the number of characters a user can type into one of the cells. I know how to properly display the amount using a formatter, but is there a simple way to change the editor box to show a "124/500" character count…

FinDev
- 4,437
- 6
- 29
- 29