jQWidgets Forums

jQuery UI Widgets Forums General Discussions Lists ListBox Is it finished?

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Is it finished? #57129

    joey
    Blocked

    I have a model that I bind to to receive add and remove item events.

    I receive two add events (I checked) but the whole thing just seems to be going haywire.

    It calls the custom renderer several times in a seemingly arbitary pattern. The height/css is broken but that might be that it can’t accommodate to my custom renderer so I can put that aside.

    However it seems to not be drawing the second item despite the render function being called.

    I really have doubts about the stability of this plugin but thankfully I can use grid to the same effect.

    Is it finished? #57131

    Peter Stoev
    Keymaster

    Hi joey,

    Yes, it is finished and works well. The custom renderer is called several times for the reason that the first time it calculates the items size, the second time it renders the item. And that happens only when the widget is created. After that, it calls the renderer only when the item goes into the visible view. You can also set the items height by using the itemHeight property. Example: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxlistbox/rendering.htm?arctic. But, If you would like some different behavior for this widget or its features, you can edit it, create your own or use something else.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.