jQuery checkbox drop down control - jquery-plugins

link texthi,
i am using jQuery checkbox drop down control. i am able to bind the values to listbox and show the values .
i need to make certain items in my listbox[checkbox drop down control] non selectable.
i am refering this website
http://dropdown-check-list.googlecode.com/svn/trunk/src/demo.html
i am using the JQuery plugin in to achive this . i am able to fix the height of the control all these things are possiable.
i have an datatable with items
karnataka
tamilnaidu
kerla
------
delhi
mumbai
chennai
------
abc
poasda
sewqwq
qwewqe
------
so now if user tries to select the"------" values it should not get selected
any help would be great
thank you

Have you tried adding to these options the disabled attribute ?
<option value="..whatever.." disabled="disabled">------</option>

Related

Oracle Apex 19.2 - Create Radio Buttons in Classic Report

Is there a good visual tutorial that takes through the various steps on how to create radio buttons in Apex 19.2? This tutorial Creating a Classic Report having radio button on each row helped me and I’m looking for a similar one..
In my case, I would like to add a radio button to each row of my classic report which when selected would add some of the informations selected by the radio button in a text field in the same page.
Any advice is much appreciated.
Thank you
Install Sample Reporting application on your APEX instance (preferably on apex.oracle.com as Dan suggested).
Navigate to the Classic Report page.
Change the query to the report to the following:
select rowid,
ID,
PROJECT,
TASK_NAME,
START_DATE,
END_DATE,
STATUS,
ASSIGNED_TO,
COST,
BUDGET,
apex_item.radiogroup(1,TASK_NAME) ACTION
from EBA_DEMO_IR_PROJECTS
where (nvl(:P3_STATUS,'0') = '0' or :P3_STATUS = status)
Note the added column "ACTION" which consists of the apex_item.radiogroup with TASK_NAME value. Let's assume that this is the value that you want to pass to another page item.
Open that column's attribute under Page Designer and disable "Escape special characters" attribute and add a CSS Class (e.g. mycolumn)
Create a Page Item (e.g. P3_NEW).
Now add the following Dynamic Action
Event > Click
Selection Type > jQuery Selector
jQuery Selector > #classic_report .mycolumn input
Your true action will be of the type Set Value and the Set Type is JavaScript Expression with the following code:
this.triggeringElement.value
Your affected element is P3_NEW and disable Fire on Initialization

Kendo Grid Custom Editor Dropdown is not accessible in Popup Mode

I am using the Kendo Grid where i need to display dropdownlist as one of the column in the grid to allow users to select State. Here the source of the State can be different for each record. The source of the state is different based on TaskInstanceId property of the record.
The problem i am having is in the popup edit mode the dropdownlist column is not being displayed. And in the inline edit mode dropdownlist is not being displayed until i go in the edit mode. Until i go into edit mode it displays textbox with no value in the textbox.
Please find the sample project attached with this email.
Regards,
Sanjay Patel

Yii Dependent DropDownList

Well, i have the following need:
create 3 dropdownlist with dependencies. My table in db is like
id
name
parent_id
Selecting a category at 1st dropdown, it will able to select her childs at second.. and so on...
ny help?
Creating a dependent dropdown
http://www.yiiframework.com/wiki/24/
Now yiiframework.com works bad, so use GoogleCache for open that page.
Ok, thanks for reply.
So, i used ajax to reload page and update dropdown content

AutocompleteExtender inside gridview

I am using an autocomplete extender inside a gridview. Inside the gridview, I have a country dropdown. When I select a country, the states should be populated in the autocomplete extender using textbox.
I am able to populate the countries and states. But when I have multiple rows in the gridview,
I select a country in row 1 of the gridview.
But all the StatesTextbox are updated with the states based on this selection. i.e, I am not able to choose which textbox/row should be updated on Dropdown selected event.
Could anyone help me on this issue? Appreciate your response!!
I fixed this by setting the context key of the autocompleteextender to the dropdownlist selected value and retrieved the value when I typein something in the statesearch textbox.

how to change the content of panel when some value selected in dropdown list

I am using 2 panels in my asp.net 3.5 aspx page, i need to change the content of panel when i dynamically select some value from dropdownlist which is in other panel . Can anybody suggest me how to dynamically change the content of a panel.
Thanks in advance..
Make sure you set AutoPostBack=true and OnSelectedItemChanged event on the dropdown. I assume it has runat="server". Then you just write the code that handles OnSelectedItemChanged, that will update the panels

Resources