Login Register

select

Selecting an accordion pane from and accordion container

The docs seem to indicate that you should be able to pass an object to an accordion container.
It seems it should work like tis:
var ac =dijit.byId("accordion"); //get the container
var spane= dijit.byId("SymptomsPane"): //get the particular pane
ac.selectChild(spane); //and select it

This doesn't work in FF3. Nothing happens.
The following error message in the log:
TypeError: newWidget.setSelected is not a function message=newWidget.setSelected is not a function

You would also hope that
ac.selectChild(4);

How to change the color of single options of a FilteringSelect

I'm a newbee to dojo and build up a little app...
but now I'm on a point where i can't find help.
I had an PHP-Array and built up a FilteringSelect with this. The Point is to colorize single options in red.

here is the code:

...
$dozentenliste = get_dozentenliste($semid, $datum, $kolleg);
?>

Address auto fill in a form

I am trying to build a auto fill address form, I have a db that convert to json with all the countries, then I want the next <select> box load the json from the php file mydb.php?action=1&id=MyCountryId.

I have the idea working with onchange and load it up from php/xml, but how I do it with dojo/json

<div dojoType="dojo.data.ItemFileReadStore" jsId="stateStore<?php echo $micro ?>" url="getcity.php"></div>
<input dojoType="dijit.form.FilteringSelect" store="stateStore<?php echo $micro ?>
" name="country" value="<?php echo $micro ?>">

Thanks,
Shlomo

Simple select fields

Hello,

Is there a very simple select? Which is themed and allows a user to select something, but does not include the ability to edit the entry in the text box? I've looked at the Combo and Filtered select but both have additional features that are not required..

John

Some suggestions

1
It's better for DOJO to make a widget just like "CaseCadingDropDown" in MicroSoft-Asp.net's AjaxToolkit.
We know , we always have to make two "" or more when we want to make "Country-Town-Street-PostCode" select .
So why don't we just make a widigt called "CaseCadingDropDown" like MicroSoft called ?
I think this widigit will be very helpful , I have found so many questions about "How to make FilterSelect dynamic" in this forum.

2
The "ItemFileReadSotre" must be extended.
Right now , I use "FilterSelect" and "ItemFileReadSotre" to make my "CaseCadingDropDown" ,

How to get Selected row form the grid?

Hi Everyone
Dear friends a'm newbee to dojo and i have two questions

1. How can i get data from selected row in the grid. i need to pass it (data) to custom editor
2. I have a column "Expired Date" in the row. I new to check it and if date is expired i need to make whole row in bold.

maybe someone can help me?

in anyway thank you for you time.

Syndicate content