0

TextGrid not show

I want to create a textgrid in the side and display some text inside it. However, it didn't show in the side bar. In the textgrid, I defined the label and any other style attributes. Did i miss something?

by
3 Replies
  • Code please.
    0
  • QUOTE (Steve @ Apr 9 2010, 03:17 AM) <{POST_SNAPBACK}>
    Code please.

    CODEBOX
    this.controls.myGridText = new KONtx.element.TextGrid({
    guid:'myFirstgrid',
    label: 'grid string should be displayed',
    styles: {...},
    }).appendTo(this);


    The above code defines a simpe TextGrid in createView method in the sideBarView Class. However, in the actual sidebar, it doesn't show the textgrid.
    0
  • Try using this.controls.GridText.setText('some content'); in the updateView().
    0

Recent Posts

in Design / Interaction - Yahoo! TV Widgets