layout grid - Ext JS

作者在使用自定义渲染器格式化表格某列时遇到问题。当锁定表格的某些列后,锁定部分的行高变得小于未锁定部分,导致两部分显示不齐。暂时解决方案为不使用列锁定。
Hi there,

I found something weird and hope this is the right place to drop a line. I made a grid and a renderer to format one of the columns. The renderer returns a <div style="border: 1px solid red;">val %</div>. Everything is ok as long as you don't lock columns. As soon as you do the height of the rows of the locked columns of the locked part becomes smallers than the unlocked onces. This means the 2 parts of a line, the locked part and the unlocked part start to become unaligned.

Hope thips helps someone. For the time being i just don't lock columns and everything is ok.

Keep up the good work Jack.. and ofcourse all other little helpers.



[/img]
Reply With Quote
  #2  
Old 03-05-2007, 01:35 PM
Default

Sounds to me that you have something in your cells that are a little higher than the normal grid row. Try uncommenting your references to the renderer(s) and see if the height of the rows will be lesser than with the custom tags.
Reply With Quote
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值