CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Item Disabled not working

by zsleo » 07 Nov 2017 09:14

Most likely something I am missing but you help will be appreciated.

My dropdown has a ListDataSource but not a DataSource.

The list is populating correctly BUT after I iterate through the items setting each Item[n].Disabled := True, the items still list as Enabled.

Also, I when I set iwcgjqdrpdwn6.SelectedList.CommaText := gv_OrgProviders; the selected items do not display.

However, if I populate the list at design time and set iwcgjqdrpdwn6.SelectedList.CommaText := gv_OrgProviders; at run time the selected items do display.

Finally, I have ReadOnlyPreselected = true and I have Multiple = true.

TIA
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by zsleo » 10 Nov 2017 18:10

Any update on this?

TIA
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Jorge Sousa » 11 Nov 2017 12:51

Hi

Both

Item[n].Disabled := True

and

iwcgjqdrpdwn6.SelectedList.CommaText := gv_OrgProviders

re not ajax ready

you will have to call .AjaxReRender after
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by zsleo » 12 Nov 2017 20:18

Thanks Jorge.

I could not get this working correctly. I have redeigned my user interface from the outcome I was looking for.
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33


Return to JQDropDown

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.