List Control


hi,

what's correct implementation sort of thing ?


i want add list. content list user entered textbox. contents of textbox put inside list, 1 below other.....i started venture using rowcount property, can't work....i wanted simple alert see current rowcount....i have following code....

import mx.controls.alert;
import mx.controls.listclasses.listbase;
public function addme():void
{
alert.show(string(showlist.rowcount));
}


but constant value of 7. don't understand how ?

you want length of dataprovider.

rowcount refers control's visible rows. has nothing data.

to add item, use dataprovider api, probablyadditem().

tracy


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support