CustomRenderer for AutoComplete using google closure library

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-05-11T21:58:50Z Indexed on 2010/05/11 22:04 UTC
Read the original article Hit count: 425

I'm looking to use one of the AutoComplete subclasses(Rich,Remote,RichRemote) and I'd like to use a CustomRenderer, however I don't see instructions for this and reading the documentation/source it appears that the Remote subclass is instantiated with a renderer of "var renderer = new goog.ui.AutoComplete.Renderer();" leaving me no option to change it while instantiating. Is there a setRenderer method on the AutoComplete base class similar to that on the goog.ui.Controls classes?

Thanks, Paul

© Stack Overflow or respective owner

Related posts about google-closure

Related posts about JavaScript