I traced my debug statements in the log file, found that methods createview, update view are called , after that i do not see any method calls i thought, _cellCreator and _cellUpdater will be invoked by the container automatically. Based on the log files,These didnt seem to happen.
Is there a document , which details the lifecycle of grid component ?
Looking for the gurus to shed some light on what is going wrong
At a high level, for most controls you need to do two things: a) create them in the createView, b) make them show the right text/picture in the updateView. For grids you need to do a third thing: c) tell the grid what array of data it is to display. I don't see any code in your sample that does this. General debuging/learning tip: "use the source Luke". You can un-zip all the sample widgets that come with the WDK and read the source code. You can also look at source code on the web interface to the api. Specific advice: search all the code for the function call changeDataset http://developer.yahoo.com/connectedtv/kon...__changedataset , it is the function that attaches an array of data to a grid.
Two other tiny bits of advice/debugging: I noticed you have code that reads
It should read
Another example of why I say CamelCaseConsideredHarmful.
Lastly, it is better to avoid using identifiers that begin with the underscore character. They do not make your identifiers any more 'private' or restricted in scope. Since the initial underscore is used by system software you may someday find you have a name conflict.