We would like to display visual widgets (such as sparklines) in the jqxListBox and other controls.
In the jqxChart sparkline example using jqxGrid, I see that ‘renderer’ is used to set up a div for the chart widget and the ‘rendered’ event is used to attach the visual to the generated div.
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/index.htm?(arctic)#demos/jqxchart/javascript_chart_datatable_sparklines.htm
I also see that ListBox has a ‘renderer’ function. Is there an equivalent event to ‘rendered’ for ListBox or another way to produce this behavior?
I looked at using ‘bindingComplete’, but this did not appear to come in after the ‘renderer’ function calls, at least when using ‘addItem’.
I can cover the initial drawing by generating the widgets after the contents are generated, but I ran into trouble when the selection was updated, causing the list item to be re-rendered and removing my previous contents.
Any thoughts on ways to achieve this with the current functionality?
Any thoughts on adding ‘rendering/rendered’ to the widgets that have ‘renderer’ parameters?