0

updating Grid cells

I have created an element.Grid:
On the _cellCreator I create a control.GridCell which consists of an element.Image and two(2) element.Text.

On the _message handler I call a function that is to update the grid elements.
First I call to a function and empty array '[]' followed by a call to the same function passing the array of data>

On the called function it simply calls: this.controls.summaryGrid.changeDataSet(<passing array>, true);

The problem seems that the text fields get the new text overlaying the previous text.

Any solution?

by
6 Replies
  • What is your _cellUpdater spitting out when you call to change the Dataset?
    0
  • Don't understand 'spitting out'.
    If you mean what does the sidebar look like.
    The text is overlay with the new text.
    0
  • I was referring to putting in a print() in your cellupdater(). I was just wondering if it is running the updated or creator when you change the data set.

    It sounds like it I appending a second text area over the one previously created.
    0
  • The create is only called once.
    The text is being overlaid, so the text becomes unreadable but decernable
    0
  • Interesting. Do you have some code you can post up to demonstrate the problem?
    0
  • Sorry my mistake.
    I was creating the array each entry into the message handler.
    0

Recent Posts

in Design / Interaction - Yahoo! TV Widgets