jQWidgets Forums
Forum Replies Created
-
Author
-
April 8, 2016 at 7:20 pm in reply to: Turn off "type to edit" feature Turn off "type to edit" feature #83302
Thanks, Dimitar, this does indeed work. And, in case anyone comes across this code, I wanted to clarify what you’re doing. To prevent the keyboard press from initiating a cell edit, we have to return true in handlekeyboardnavigation. The keys that initiate grid edits are the number keys (48-57) and the letter keys (65-90). For completeness’s sake, the Enter key (13) and the F2 key (113) will also start editing a cell if people also want to check for those. So, the full description is, if the grid is focused but the user is not editing a cell and the user presses a number key or a letter key, return true (i.e. don’t put a grid cell in editing mode). Thanks again!
April 8, 2016 at 1:26 pm in reply to: How to commit cell edit on focus lost with editmode=dblclick How to commit cell edit on focus lost with editmode=dblclick #83292Hi Hristo, it seems to be inconsistent though. This JSFiddle is identical to the previous one except I changed the editmode to “selectedcell”. Now when I click on another cell, the edit completes. It sounds like ultimately though I’m going to need some sort of custom solution.
Thanks,
David
April 6, 2016 at 1:57 pm in reply to: Turn off "type to edit" feature Turn off "type to edit" feature #83202Oops, I spoke too soon. We noticed a couple of issues with this code change. First, it prevents the user from editing grid cell values using the keyboard. Not only that, it also prevents edits to other fields in the same webpage, e.g. text fields. Dimitar, is there another way to do this?
Thanks,
David
April 5, 2016 at 4:07 pm in reply to: Turn off "type to edit" feature Turn off "type to edit" feature #83149This works great — thanks, Dimitar!
March 13, 2015 at 10:32 pm in reply to: Jumpy scroll bar on the main window with isModal enabled Jumpy scroll bar on the main window with isModal enabled #68517Yeah, I’m seeing the same thing (although intermittently) in v3.0.4. Thanks for posting the workaround, jqWizard! Although, I decided to use window.innerWidth and window.innerHeight.
January 9, 2015 at 5:16 pm in reply to: Change events on view change Change events on view change #65213Dimitar, thanks for the suggestion! I think this works pretty well although if the user happens to click on a day that matches the old date’s day, it won’t work. For example, click on the month-year at top, select a different month, then click on the same day in that month.
http://jsfiddle.net/FrNWD/39/In the meantime, I’ve managed a workaround with my older version of jqwidgets. (It takes advantage of the fact that there was a previously existing bug in the calendar widget where clicking on a year or month would fire two change events while clicking on a day would fire only one.)
Is it possible for a future release to provide a context object with the event so the developer can see what the user clicked on that led to the change event?
Thanks,
David
Makla, I think a way around this would be to set the attributes in jQuery before initializing the dock panel. So, change the HTML to something like this:
<div id='jqxDockPanelLivingRoom'> <div id='left'></div> <div id='top1'></div> <div id='top2'></div> </div>
Then, use jQuery code like this:
$('#left').attr('dock', 'left'); $('#top1').attr('dock', 'top'); $('#top2').attr('dock', 'top'); $("#jqxDockPanelLivingRoom").jqxDockPanel();
January 29, 2014 at 5:12 pm in reply to: Can I edit in theme builder a custom theme that was created using theme builder Can I edit in theme builder a custom theme that was created using theme builder #48629Oh cool, that’s very good news. Thanks for the update!
January 22, 2014 at 9:53 pm in reply to: Can I edit in theme builder a custom theme that was created using theme builder Can I edit in theme builder a custom theme that was created using theme builder #48235I’d like to echo jimg’s comments. The inability to import an existing theme into the theme builder severely limits its usefulness. Also, displaying the editor and the preview at the same time would be very helpful.
-
AuthorPosts