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
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
2 answers
YUI datatable-sort not working
Hello I'm parsing some data from my database into a table using aui-datatable plugin however I would like to add some basic sorting in my columns. Bellow you may see the function "renderProducts" which renders the data-table. Furthermore bellow is a…

0x_Anakin
- 3,229
- 5
- 47
- 86
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
3 answers
YUI DataTable .NET webservice
Does anyone have an example of using of populating a YUI DataTable with a .NET webservice?
Thanks in advance.
:)

Alonso
- 1,069
- 5
- 12
- 22
0
votes
2 answers
YUI datatable column count
How do I get column count of a YUI datatable?
var columns = dataTable.columns;
var length = columns.length;
doesn't work.
I am using YUI2.

Fakrudeen
- 5,778
- 7
- 44
- 70
0
votes
1 answer
Formatting Yui Datatable caption
How can I add a class to the caption element of the Yui datatable apart from the default class i.e. "yui3-datatable-caption"?
Thanks

Nidhi Kaushal
- 299
- 4
- 15
0
votes
1 answer
Is it possible to localize datatable cell editor control buttons in YUI2?
I'm wondering if it is possible to localize the labels on the textbox cell editor of the YUI2 datatable:
In the image above, I'd like to be able to change the label on the save and cancel buttons. Thanks

Dark Star1
- 6,986
- 16
- 73
- 121
0
votes
1 answer
Grails UI datatable dynamic dropdownOptions
Using the datatable, within the Grails UI plugin, does anyone know how to make the list of dropdownOptions dynamic?
You can specify the dropdownOptions like this:
[age:'Age', formatter:'number', editor:[type:'dropDown', controller:'demo',…

ncl
- 31
- 3
0
votes
1 answer
YUI 3.13 Datatable to load images
I'm trying to create a data table that shows images in the status column. I followed some examples from stackoverflow but it doesn't work. Does anyone know how to get the image to load in the column? The code below works but it doesn't seem like…

codeBarer
- 2,238
- 7
- 44
- 75
0
votes
1 answer
Is it possible to append the currency sign in YUI2 datatable after the numerals?
I would like to position the currency label after the numerals in the datatable. I currently have this configuration:
currencyOptions: { prefix: '€', decimalPlaces: 2, decimalSeparator: ',', thousandsSeparator: '.'}
but this prefixes the sign.

Dark Star1
- 6,986
- 16
- 73
- 121
0
votes
1 answer
YUI Datatable In A Panel Not Registering Events
I have a datatable within a panel dialog. The datatable displays ok...however....no events are being registered, liked sort, row selection etc. Nothing at all. Not a sausage. If the datatable is not inside a panel then row selection, sorting etc.…

Flukey
- 6,445
- 3
- 46
- 71
0
votes
1 answer
YUI 3 rendering dropdown in a column on a datatable
I am trying to customize one of the column into a dropdown. It is a json response and the response for the column that I want to customize it into a dropdown list is an array. I am able to create a string into select and option tags but on the Data…

user2557307
- 53
- 7
0
votes
1 answer
How to remove/unsubscribe listener from data table using YUI
I did subscribe an event on data table as follows (YUI data table):
myDataTable.subscribe("cellClickEvent", this.myDataTable.onEventShowCellEditor);
how can I achieve as follows?
If (condition)
show cell editor
else
remove or hide cell…

Khaja Hussain
- 73
- 1
- 7
0
votes
1 answer
YUI DataTable with TEXT responseType
//Define the columns of the table
var myColumnDefs = new Array();
for ( i=0; i < $names.length ; i++)
{
var colObjConfig = new Object();
colObjConfig.label =$names[i];
colObjConfig.resizeable =true;
colObjConfig.width =150;
…

suman j
- 6,710
- 11
- 58
- 109
0
votes
1 answer
YUI JSON Datatable: how to dynamically change the request without POST
I have been playing with server side sorting/paging using YUI DataTable, and everything is working as expected.
I want to be able to have something like a form input element to restrict the rows in the table, and my json proxy can handle it, for…

hamo
- 2,337
- 3
- 15
- 13