Hi List!
Thank you very much for the help.
I did what I want this way:
var custom =
{
// Hide ID Column
initiallyHiddenColumns: [0]
};
// Get Remote data
var tableModel = new fe.table.RemoteDataModel();
tableModel.setColumns(["ID", "File Name", "Size","Modified"],
["id", "filename", "size", "modified"]);
var table = new qx.ui.table.Table(tableModel, custom);
table.set({
width: 600,
height: 400
});
table.addListener('columnVisibilityMenuCreateEnd', function(e){
e.getData().menu.removeAt(0);
}, this);
table.addListener('cellClick', function(e){
if ( e.getColumn() == 1 ) {
var id = tableModel.getValue(0, e.getRow());
alert(id);
}
}, this);
Again, Thank you for all the suggestions and ideas.
Best Regards,
Alexandre
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel