如何使数据网格高度等于 Adob​​e Flex 中的数据内容 [英] How can I make datagrid height is equal to data content in Adobe Flex

查看:27
本文介绍了如何使数据网格高度等于 Adob​​e Flex 中的数据内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 adobe Flex datagrid 中,高度等同于固定高度.我想让数据网格高度取决于数据.

In adobe Flex datagrid height is equally to fix height . I want to make datagrid height is depend data .

推荐答案

您可以通过将数据网格上的variableRowHeight"属性设置为 true 来设置数据网格的每一行以适应该行特定列的内容并将包含可变高度内容的 dataGridColumn 上的wordWrap"属性设置为 true.

You can set each row of the datagrid to fit based on the contents of a particular column of that row by setting the "variableRowHeight" attribute to true on the datagrid and setting the "wordWrap" attribute to true on the dataGridColumn that will contain the variable height content.

这篇关于如何使数据网格高度等于 Adob​​e Flex 中的数据内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆