开发者

Flex Advanced data grid:column visibility

开发者 https://www.devze.com 2022-12-13 05:16 出处:网络
HI I am new to Flex and was wondering, when we use an advanced data grid, only when we click on the parent element the children details get populated in the corr开发者_开发知识库esponding columns, rig

HI I am new to Flex and was wondering, when we use an advanced data grid, only when we click on the parent element the children details get populated in the corr开发者_开发知识库esponding columns, right?..SO now i have made the empty columns invisible(at design) now how do i make them visible at run time when the parent element is expanded..similarly once the columns are visible, how can i make them invisible again when the parent element is closed. Please help me out

Thanks


I think the event you want to listen for is "itemOpen" then the function you want will be something like:

MyADG.columns[invisible column index].visible=true;

0

精彩评论

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