开发者

Qooxdoo and Javascript - Table(Model) - Hide Table Cell?

can't find a way to Hide a Table Cell in my Qooxdoo Table. Does anyone know a pos开发者_开发百科sibility?

this.getTableObj().getTableModel()...

..and then I think it has to be like..

... .getTableCell(TableRow, TableColumn).cellrenderer.Replace(null);

or maybe just like .getTableCell(TableRow, TableColumn).hideCell(); would be perfect.

EDIT: I need this functionality for showing a pressable button in a cell (just a picture). I can hide the renderer (the picture itself) but not the onclick event on the cell. this for, i would need some kind of ..cell.isVisible(false);

Thanx in advance,

best regards, Stephan


You should use a special table model for that. qooxdoo offers a filtered table model [1] which is exactly for that purpose. There is also a demo in the demobrowser [2] where you can take a look how it is used.

  1. http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Filtered
  2. http://demo.qooxdoo.org/current/demobrowser/#table~Table_Filtered_Model.html
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜