开发者

Can YUIs DataTable have resizeable but not moveable columns?

开发者 https://www.devze.com 2023-01-01 17:36 出处:网络
I have implemented column resizing wi开发者_如何学JAVAth YUIs DataTable as demonstrated in this example:

I have implemented column resizing wi开发者_如何学JAVAth YUIs DataTable as demonstrated in this example:

http://developer.yahoo.com/yui/examples/datatable/dt_complex_clean.html

Is there anyway to enable column resizing without column moving?


Yes. Set "resizable" to true in your column definitions (it defaults to false). Your link has an example of this on line #79.

Don't set draggableColumns in the datatable configuration (it defaults to false). This is done in the example on line #99.

0

精彩评论

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