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 ?
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
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
Post a Comment