Show Posts
|
Pages: 1 [2]
|
17
|
General Category / EasyUI for jQuery / Cellstyler for a subgrid
|
on: December 23, 2018, 06:27:21 AM
|
Hello
I am trying to apply a format, to the cell of a sub grid.
The format should add a comma to seperate thousands, and also change the text to RED if the value is less than 0.
Suggestions would be appreciated
Thank you
|
|
|
19
|
General Category / General Discussion / Datagrid - Forms - Using data from 2 tables
|
on: July 10, 2018, 08:16:47 PM
|
Hello I have a data grid which is edited via a Form
Editing is done via the following function
function editcall() { var row = $('#dg').datagrid('getSelected'); var $radios = $('input:radio[name=OnComplete]'); if (row) { $('#dlg').dialog('open').dialog('setTitle', 'Edit Call'); $('#fm').form('load', row); url = 'scripts/database/update_db.php?udtype=U&id=' + row.id; } }
I would like to now link the forms data 2 seperate MYSQL tables ?
How would this be acheived ?
Thank you
|
|
|
23
|
General Category / EasyUI for jQuery / Obtain Data from a Form
|
on: July 01, 2018, 01:47:49 AM
|
Hello
I have a datagrrid, which opens a form for user entery
This form has a button which i would like to use to run a piece of javascript, to select data based upon the data from a number of the form fields.
How would I get the data from the form fields ?
I have tried document.getElementById("Field Name") how this doesn't seem to work ?
Suggestions would be appreciated
Thank you
|
|
|
28
|
General Category / EasyUI for jQuery / Nested Subgrids - Using External data
|
on: March 27, 2016, 08:14:54 AM
|
Hello I am trying to build an Nested Grid ui based upon the example here http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=I have succesfully modified the code to use external data for the main grid, however I am having problems getting external data for the subgrids....in my application this data would be based upon 2 of the fields from the main grid, say company and contact.. I have tried addining a url: however this would also need 2 parameters company and contact, based upon the selection from the main grid I think the "foreignField:" may have something to do with this, but carn't seem to find an explanation of its use Any suggestions would be appreciated Thank you
|
|
|
29
|
General Category / EasyUI for jQuery / Re: Printing jeasyui dialog form with data
|
on: October 19, 2014, 09:02:04 AM
|
Hi
Thanks for your suggestion, this partially works..
The Form also has Multiline text areas, and Radio Buttons, these are still not showing
The HTML from the Multiline text areas withn the new opened window is as follows :-
<input textboxname="Results" class="easyui-textbox textbox-f" prompt="Results" multiline="true" style="width: 540px; height: 50px; display: none;" required="true"> <span style="width: 538px; height: 48px;" class="textbox"> <textarea value="Multiline of Text" style="margin-left: 0px; margin-right: 0px; height: 40px; width: 530px;" placeholder="Results" class="textbox-text validatebox-text" autocomplete="off"></textarea> <input value="Multiline of Text" name="Results" class="textbox-value" type="hidden"></span></td>
Do you have a suggestion ?
|
|
|
30
|
General Category / EasyUI for jQuery / Printing jeasyui dialog form with data
|
on: October 19, 2014, 06:45:40 AM
|
I am trying to print a jeasyui dialog form using the following method
The form layout shows correctly, however the values don't apear within the form. I have checked the HTML code from the new window, and all "values" are present, however they appear as type="hidden" , is this why they arn't showing ??
function printFORM() { var content = $('#dlg').dialog('dialog'); var FPrint = window.open('', '', 'letf=100,top=100,width=600,height=600');
FPrint.document.write(content[0].innerHTML); FPrint.document.close(); FPrint.focus(); FPrint.print(); FPrint.close() }
Sample new window form, HTML Code: <input value="103" name="id" class="textbox-value" type="hidden">
Any suggestions or pointers would be appreciated.
|
|
|
|