16 Feb 2011 11:55 AM #1
Unanswered: Ext.ux.Rating in a extjs grid
I am trying to figure out how to apply an Ext.ux.Rating object in each cell of a grid column. I have a renderer for my cell obviously, but I am missing something in the steps I need.
Ext.ux.Rating acts on html already in existence, converting radio buttons into stars (effectively), but the renderer doesn't actually provide any html until it finishes running. What I need in essence is a renderer to draw the html, and then a followup renderer to create the Ext.ux.Rating and apply it into the space created by the html already rendered.
I made some ground by create a div with the id of rating_source with my "template" html, and then harvesting that over and over parsing it into my grid...but it feels very clunky (and I still have some issues of id and name values to make them distinct on each row to work out).
I feel I am going about this wrong though.
It's also not rendering as stars, but I am assuming I just have a flaw in mapping my css there...and I anticipate working that out.
Any advice greatly appreciate.
By Podlipensky in forum Sencha Touch 1.x: Examples and ShowcasesReplies: 22Last Post: 17 Jul 2012, 7:56 AM
By shousper in forum Ext 3.x: BugsReplies: 1Last Post: 10 Nov 2010, 7:07 PM
By zitadeveloper in forum Ext 2.x: User Extensions and PluginsReplies: 18Last Post: 14 Mar 2010, 1:54 PM
By wgpubs in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 4 Dec 2008, 8:59 AM
By Dan Gaters in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 21 Dec 2007, 11:45 PM