Show Posts
|
|
Pages: [1]
|
|
1
|
General Category / EasyUI for jQuery / Re: combobox loading other combobox
|
on: September 04, 2013, 12:07:29 PM
|
|
What do you mean?
The url after select is supposed to load JSON based on the select.
the whole page fails with this javascript error when the page loads.
TypeError: _3f9 is undefined var opts=_3f9.options;
I am still waiting for someone to answer this question for over a week...
stworthy? any answers?
|
|
|
|
|
3
|
General Category / EasyUI for jQuery / Re: combobox loading other combobox
|
on: August 28, 2013, 08:03:38 AM
|
Thank you for helping.... I am one step further. I still get the error in firebug: TypeError: _3f9 is undefined var opts=_3f9.options; When I click on project dropdown, it executes this: $('#axCode').combobox('reload','remote_combo_data.php?type=projectax&projectID='+record.id); alert('remote_combo_data.php?type=projectax&projectID='+record.id); Which is: remote_combo_data.php?type=projectax&projectID=18 Which returns: [{"id":"26","groupID":"1","projectID":"18","Description":"Holiday","isActive":"1"},{"id":"28","groupID":"1","projectID":"18","Description":"Other","isActive":"1"},{"id":"24","groupID":"1","projectID":"18","Description":"Sick Leave","isActive":"1"},{"id":"27","groupID":"1","projectID":"18","Description":"Unpaid Leave","isActive":"1"},{"id":"25","groupID":"1","projectID":"18","Description":"Vacation","isActive":"1"}]But there is nothing in the axCode combobox. AND it never says "It should be there!" in an alert box.... This is the code: field:'projectID', title:'Project/Paid Leave', width:100, onSelect:function(record){ var url = 'remote_combo_data.php?type=projectax&projectID='+record.id; $('#axCode').combobox('reload', url); alert('it should be there!'); }, editor: { type:'combobox', options:{ valueField:'id', textField:'DescriptionCode', data:cmbprojects, required:true, editable:false }, } }, { field:'axCode', title:'axCode', width:100, editor:{ type:'combobox', options:{ valueField:'id', textField:'Description', required:true, editable:false } } // closes editor ,formatter:function(value,row,index){return row.Description;} // closes formatter } // closes field
|
|
|
|
|
7
|
General Category / EasyUI for jQuery / Re: combobox loading other combobox
|
on: August 25, 2013, 07:30:20 AM
|
Hi, Thanks for helping. My main form loads data from a database record , with a master/detail form. in a new record, I want to click on project (which comes from an external PHP call based on a session variable).. ON SELECT of this project, I want another external PHP to get JSON based on the selected value. {field:'projectID', title:'Project/Paid Leave', width:100, editor:{ type:'combobox', options:{ valueField:'id', textField:'DescriptionCode', data:cmbprojects, required:true, editable:false, onSelect:function(record){ console.log('select!');
// this doesn't work, it doesn't load the data.
$('#axCode').combobox('reload','remote_combo_data.php?type=projectax&projectID='+record.id);
// If I do it from a web browser with record.id=, I get: // //[{"id":"26","groupID":"1","projectID":"18","Description":"Holiday","isActive":"1"},{"id":"28","groupID":"1","projectID":"18","Description":"Other","isActive":"1"},{"id":"24","groupID":"1","projectID":"18","Description":"Sick Leave","isActive":"1"},{"id":"27","groupID":"1","projectID":"18","Description":"Unpaid Leave","isActive":"1"},{"id":"25","groupID":"1","projectID":"18","Description":"Vacation","isActive":"1"}]
} // closes onSelect } // closes options } // closes editor } // closes field , { field:'axCode', title:'axCode', width:100, editor:{ type:'combobox', valueField:'id', textField:'Description', required:true, editable:false } // closes editor ,formatter:function(value,row,index){return row.Description;} // closes formatter } // closes field
|
|
|
|
|
8
|
General Category / EasyUI for jQuery / combobox loading other combobox
|
on: August 24, 2013, 08:29:05 AM
|
 I need some help with a jeasyUI form, has a combobox which loads another combobox. Please email if you are a jeasyUI EXPERT... danieljamesbertrand at me dot com I noticed that my onSelect isn't firing AFTER the first time (I have a console.log message in there that I don't see when I select) {field:'projectID', title:'Project/Paid Leave', width:100, editor:{ type:'combobox', options:{ valueField:'id', textField:'DescriptionCode', data:cmbprojects, required:true, editable:false, onSelect:function(record){ console.log('select!'); $('axCode').combobox('reload','remote_combo_data.php?type=projectax&projectID='+record.id); } // closes onSelect } // closes options } // closes editor } // closes field , { field:'axCode', title:'axCode', width:100, editor:{ type:'combobox', valueField:'id', textField:'Description', data:cmbaxcodes, required:true, editable:false } // closes editor ,formatter:function(value,row,index){return row.Description;} // closes formatter } // closes field
|
|
|
|
|
9
|
General Category / EasyUI for jQuery / I need to hire a jeasyUI expert
|
on: July 30, 2013, 01:34:10 PM
|
|
I need a jeasyUI expert programmer for a project that I am working on.
I have requirements for dropdown lists in my forms, input validation, coloring of cells based upon value, and forms that contain child table records which are based on master table records.
I will hire you for 2-3 hours work, if it is good and reasonable, you will be hired for the rest.
I can pay with Paypal.
Thank you,
Dan
|
|
|
|
|
10
|
General Category / General Discussion / Feature Request : Validatebox templates
|
on: November 25, 2012, 11:10:08 PM
|
Hello and thank you for the fantastic software.  I would like to ask for some features, namely more additions to the input/validation system. JEasyUI needs a template to handle phone numbers. Phone(#-###-###-####-ext (#####) and similar. The template that handles numbers does not handle maxdigits (what if I want a max number of 999999, that would be maxdig(6)) maybe a template for image upload... and typeahead lookup from a data source, so you connect a datasource (JSON) and start typing in the box, you type sch and it fills in "school"...? that would be very useful. Thanks, Dan
|
|
|
|
|