Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to change width/height of a single(particular) cell of datagrid in as3?

Community Beginner ,
Aug 29, 2013 Aug 29, 2013

Hi,

datagrid.rowHeight/datagrid.columnWidth property allows you to change height/width of all the cells. But how can i change size of only particular/selected cells?

There is also datagrid.columns[1].width=500; property.... but is there anything for particulat cell selection?

TOPICS
ActionScript
752
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Aug 29, 2013 Aug 29, 2013

Its not advised to start multiple threads about so closely related subjects as fast as you do it .

It would be better to first start with the documentation, becaus all the answers you are serarching for  are in there:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/controls/DataGrid.html

"But how can i change size of only particular/selected cells"

This question makes no sense to me. How can you change the size of a cell  in a datgrid without changing the sizes of its neighbors?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 30, 2013 Aug 30, 2013

apologies for the inconvenience caused.....there was no intention to start multiple threads on the same question....

i guess i've not been able to articulate my question properly....

all i wanted to know what how to change a specific rowHeight in datagrid?

OR

is there an equivalent of datagrid.columns[1].width=500; property for changing individual rowheights?

I'm not sure if GridItemRenderer would come to the rescue or not? if yes, then how...

P.S: i had gone through the documentation provided too but couldn't find the solution of how to change only few rowHeights and not all.

If I'm not able to find a way around for this, i'ld have to switch to making a grid of textInput boxes to change their individual rowHeights but that would be a too cubersome process...

Thanks for your effort & guidance ....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 01, 2013 Sep 01, 2013
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines