jQWidgets Forums
Forum Replies Created
-
Author
-
Hi,
thanks. I did not set the columntype property correctUnfortunatelly it still does not work at all because the “val” method in the initeditor event does not correctly set the content of the editor element.
Is this the wrong place to call the val method toll fill the editor with the cells value?
Regards
RobertSeptember 29, 2014 at 4:52 pm in reply to: Editor looses focus on setcellvalue Editor looses focus on setcellvalue #60272Hi Peter,
based on the inputs in one column the values of other columns should be calculated by an ajax call. Actually I do have assigned the “cellendedit” event where the ajax-call is made. After getting the results from the ajax call I set the value of another column with the result from the ajax call with the setcellvalue method.
How to realize this task without using the setcellvalue method?
Regards
RobertSeptember 16, 2014 at 12:47 pm in reply to: Dragging over iframe in jqxwindow Dragging over iframe in jqxwindow #59568Hi Peter,
thank you for your true answer. Okay, I was thinking you have a solution that works.
As workaround you could replace all the visible iframes in the document with a div container when the resizing begins and undo that when the resizing ends. It’s not perfect but it’s better than when it doesn’t work at all.
I’ve updated the jsFiddle to support that. Maybe you can implement this as default behaviour:
http://jsfiddle.net/33cwD/52/Best Regards,
RobertSeptember 10, 2014 at 8:33 am in reply to: Dragging over iframe in jqxwindow Dragging over iframe in jqxwindow #59364Has anyone an idea? The same problem is when you try to resize a window on its bottom right corner and an iframe is behind the window…
September 3, 2014 at 7:38 am in reply to: Drag and Drop with "multiplerowsextended" … Drag and Drop with "multiplerowsextended" … #59056Solved… Just for anyone who is running into the same problem: There’s an undocumented selectionmode: multiplerowsadvanced
Use this selectionmode instead of multiplerowsextended and everything works well!September 2, 2014 at 12:24 pm in reply to: Drag and Drop with "multiplerowsextended" … Drag and Drop with "multiplerowsextended" … #59024Hi,
I ran into the same problem. Did you solve it?
Regards
RobertThank you very much!! Works very well!
Hi Dimitar,
now it works. Thousand thanks to you! Great support!
Have a nice weekend!
Regards,
RobertHi Dimitar,
thank you for your response but this does not show a input field grouped with a button. What I want is a cell which has a text-editor and a button. When the user clicks to the button a second window should appear (thats my work then) where he can select something. Afterthen the selected value from the second window should appear in the cell then.
You do have a nice example for the jqxInput component:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxinput/inputgroup.htmThat’s how I want it in a grid. Is that possible?
Thanks in advance,
RobertMay 7, 2014 at 2:37 pm in reply to: phpdemos\server_side_grid_crud phpdemos\server_side_grid_crud #54113Hi,
I think you should have 2 arrays: One array is the “rows” array, the other one is the “columns” array.
So your data.php should look like that:
if (isset($_GET['insert'])) { // INSERT COMMAND //$insert_query = "INSERT INTO employees(<code>FirstName</code>, <code>LastName</code>, <code>Title</code>, <code>Address</code>, <code>City</code>, <code>Country</code>, <code>Notes</code>) VALUES ('".$_GET['FirstName']."','".$_GET['LastName']."','".$_GET['Title']."','".$_GET['Address']."','".$_GET['City']."','".$_GET['Country']."','".$_GET['Notes']."')"; //$result = mysql_query($insert_query) or die("SQL Error 1: " . mysql_error()); $rows = array(); $cols = array( 'EmployeeID' => '12', 'FirstName' => 'Peter', 'LastName' => 'Stoev', 'Title' => 'Keymaster', 'Address' => '123 Widget Street', 'City' => 'New York', 'Country' => 'USA', 'Notes' => 'Widgets are awsome.'); array_push($rows, $cols); mysql_close($connect); //echo $result; echo json_encode($rows); }
Hi,
I’ve found the solution. You can trigger the “mousedown” event:
$('#windowid').on('mousedown', function (event) { alert("window click"); });
Regards,
Robert -
AuthorPosts