0

changing the kontx.element.text label dynamically

Hi,

I have a grid and in that having different images. on focus of each image i want to change the label / text.

Thanks
Swarupa

by
1 Reply
  • QUOTE (swarupa @ Nov 17 2010, 02:35 AM) <{POST_SNAPBACK}>
    Hi,

    I have a grid and in that having different images. on focus of each image i want to change the label / text.

    Thanks
    Swarupa

    You could attach an onFocus event to each grid cell (done in the grid cell constructor). In the event, the value of this will be the focused grid cell. You could bind anything you want to the cell and then pass that to a text control.

    - Ben
    0

Recent Posts

in Getting Started / Beginners - Yahoo! TV Widgets