-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Is there any javascript file, which internally helps listbox for its itemrendering or any event that we do to the listbox?
Thanks MDuchemin for your suggestions.
Here in below i am posting my requirements and approach what i have tried. Please provide any suggestions, how can i solve these issues.
Please check for this Question in my profile "how to fix ListGroupModel performance issue". Because i am unable reply you here by posting that question
Hi mangaldaslima,
Short and useless answer: Yes, there are a number of files used in every ZK components. :) Many actually, and which one you need very much depends on what you want to do.
For the useful answer: What exactly do you need to implement? Can you give some details on your plans for the listbox? In many cases, you don't actually need to go to JavaScript level for customization.
If you want to control how each listitem is rendered while working with a model, I would suggest reading the ListItemRenderer or the Listbox template sections in the documentation. https://www.zkoss.org/wiki/ZKEssentials/DisplayinginformationusingtheListbox/UsingaListModelandListitemRenderer https://www.zkoss.org/wiki/ZKDeveloper'sReference/MVC/View/Template/ListboxTemplate
Happy coding!
[ValidationPropertyAttribute("SelectedItem")] public class ListBox : ListControl, IPostBackDataHandler
Asked: 2017-10-25 22:03:34 +0800
Seen: 16 times
Last updated: Nov 01 '17