Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Changing dropdown data on click and blur
posted

Hi

 We have different dropdonw on our screens. Right now we are displaying code-description as label i.e. for each record we are including code and label both in the dropdown. Some of the description are long.....

 What we want to do is display code only initially and when user clicks the dropdown change the datasource to one that has code - description as label. When user makes a selection or releases the dropdown and the droped list disappears change the datasource to the initial collection that has only code displayed.

 I am not able to find any tag attributes to do that. The tag also doesn't recognize the onclick or onblur attributes.

 Is there a way to capture these events or achieve the above said functionality?

Thanks

Parents
No Data
Reply
  • 530
    posted

    This is just additional information that I tried.

     SelectItem has description beside key and value field. I think if we can render it such that when we scroll down it display the description with the label, it can serve the purpose.

     But the issue is time and no previous experience with the renderers as scuh. I have created some custom converters etc. But no renderer. If any of you have any recommendations that you think can help me in this case please let me know.

     

    Thanks

Children