Displaying 20 results from an estimated 50000 matches similar to: "Regarding Combobox"
2011 Sep 30
1
Related combobox
hello,
i have 3 comboboxes, i want to load 2nd combobox based on the
value selected in 1st combobox. and 3rd combobox should be loaded
depending on the value selected in the 2nd combobox.
i have used observe field for 2nd and third combobox , it works
for the first combobox but not the second one.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2014 Apr 19
0
How to has_one/belongs_to association only return the objects unassociated in combobox?
I have two models (Car and Driver) and a combobox to select which driver
belongs to which car. I want the combobox just show the objects that have
not yet been associated.
# vehicle belongs_to: driver
# driver has_one: vehicle
# simple_form # vehicle/_form.html.haml
= f.association: driver, label_method: :name, value_method: :id
How to ensure validation before saving, to avoid problems of
2011 Sep 01
2
Partial Page update and related combobox
hello,
I am doing a rails project and i am new to rails, am stuck
with some problems.
1) I have a div container at the left side of the page just like
a sidebar which contains different links. And the right side of the page
is meant to display the content, which is also a div container . When i
click any of the links in the sidebar respective pages must be displayed
in the right
2013 Jan 30
1
DropDown onChange event update the table in view
Hi all,
I am fairly new to ROR and recently i created an application where i
have a combobox when on select the item from combobox i need the table
in the view to be updated based on the selection of the item selected in
the combobox. I need to do it using javascript , the whole data should
be retrived once and when the user selects the item from combo the table
data should get updated without
2011 Jan 04
1
Problem with "date_select" form helper
Hi,
I am using "date_select" form helper to select the date.
My code is as follows:-
<%=date_select("post", "written_on", :prompt => { :day => ''Select day'',
:month => ''Select month''}, :discard_year=>true)%>
It works.
But there is problem with the number of days for each month.
The days combobox has populated with
2007 Mar 21
0
[909] branches/wxruby2/wxwidgets_282/doc/textile/combobox.txtl: Correct disambiguated method names in methods listing
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Apr 29
0
[989] branches/wxruby2/wxwidgets_282: Fix a crasher with misdirected ComboBox#GetSelection method on GTK; clearer
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2003 Mar 27
0
R TclTk iwidgets::combobox
Thanks Peter,
I've started a new R session (in Windows) and managed to get
both ways working now :
### THIS WORKS !!! ###
library(tcltk)
tclRequire("IWidgets")
tt<-tktoplevel()
combo <- tkwidget(tt,"iwidgets::combobox")
tkpack(combo)
### AND THIS WORKS TOO !!! ###
tt<-tktoplevel()
win <- .Tk.subwin(tt)
2011 Oct 06
0
initial value in ComboBox tkwidget
Hello,
I took me very long to find out how to set the initial value in the combobox
widget in tk (see the example below). My question is now : Why does
"textvariable" has to be a tclVar while "values" can be a normal vector? My
next question is: How could I have known this much earlier? Is there a
documentation for the tcl/tk usage in R? I know a lot of website with
example.
2006 Aug 09
1
tk combobox question
Hello!
The IWigdets::combobox has an option "selectioncommand" to specify a procedure
which is called when an item in the combobox is selected.
Does ComboBox from Bwidgets have an equal option or is there a simple method to
do thi? I haven't found one but i would like to use Bwidgets instead of Iwidgets.
Another question which should not be a problem, but at the moment I just
2007 Mar 21
0
[906] branches/wxruby2/wxwidgets_282: Wx::ComboBox API 2.6 -> 2.8, plus some doc corrections
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2012 Aug 26
1
to clear combobox value....
As i m using tcltk package for GUI designing ttkcombobox command helped me in
creating combobox...
but, i need to create an application where after i click on *"clear all"*
button the values in combobox should be cleared,
but i am not knowing what should be written in the command function of a
button, so that the selected value of combobox should be cleared or come
back to its default
2009 Feb 18
3
Validation and ComboBox
I''m trying to make a ComboBox that can be typed into but only accepts
entries that are already in the drop-down list. I hoped a combination of
the CB_DROPDOWN style and a TextValidator with the FILTER_INCLUDE_LIST
would make that happen, but the validator seems to be ignored. Is that
combination supposed to do what I want? If so, please review the code
below and let me know where my
2006 May 28
0
Fill a combobox with image paths
That, i have a bunch of images on my public/images/items folder and i
want to be all listed on a combobox so when i select one image from the
combo it be displayed inside a <div> tag, i dont know if its easier get
the physical path or have a table with the image paths.
also i have a list of items with name, description and image assigned so
im looking also in how i can edit the items to
2007 May 02
0
Selected value in a combobox
I''m using ActiveScaffold.
In the file house_helper.rb I have written the code:
def house_form_column(record, input_name)
...
list = House.find(:all, :include => ''city'')
new_list=...
...
list do |element|
if record = element.name
selec=element.id
end
end
select_tag ''X'',options_for_select(new_list, selected=selec),
2007 Dec 14
0
combobox and m:n relation
Hi,
i have a project and a task. both have a m:n relation to each other. I
made a scaffolding and want to insert a combobox in the task new view
Code : ruby - fold - unfold
<label for="project_name_ger">Poject</label><br/>
<%= select "task[projects_id][]", "project_id",
Project.find(:all).collect {|c| [c.name_ger,
2009 Oct 19
1
Combobox population by means of JQuery and Ajax.
This is the view municipalities.js.erb I have:
<% list_opt = options_from_collection_for_select(@municipalities, :id,
:name) %>
<% puts list_opt %> #ok! list_opt contains the options
$(''#municipality_id'').html(''<%= list_opt %>'');
and this is the combobox in the view:
...
Comune <select id="event_municipality_id"
2008 Jun 17
0
setvalue of a combobox
if I wanted to set the value of a combobox
tt <- tktoplevel()
box <- tkwidget(tt,"ComboBox",values=c(1,2,3))
tkgrid(box)
tcl(box,"setvalue","first")
does anybody know how I would access an index other than the first? as second, and numbers do not work..
thanks in advance
Andreas Posch
2006 Apr 23
5
ComboBox patch files
The following two files correct problems with the ComboBox
implementation. You will also need my typemap.i.patch file
(forthcoming) in order for the void * typemap to work properly (I think).
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Jan 13
1
Combobox
Hi,
I''ve got a little problem with the comboboxes. I want to provide a
search where the user enters a word into the combobox and the program
runs a mysqlsearch and returns the result in the comboboxlist. While
the user enters a searchword or moves up or down within the list, it
is necessary that the list opens itself without a manual click on the
button. That''s