|
Title: Issues with propertygrid('beginEdit', i) Post by: chrwei on October 13, 2014, 01:01:11 PM I'm trying to get a "tab to next field" feature working. I have it working for editor:"text" but for combobox I'm seeing weirdness. clicking works as expected, but $(x).propertygrid('selectRow', i).propertygrid('beginEdit', i); is making it into a text field instead of the combo. seems to be a problem with beginEdit. Should I be doing this differently since it's a propertygrid?
here's what I've got http://cw.archreactor.org/test/test.html this is actually generated via a template system, which is why there's hidden elements and 2 blocks of javascript. I've left it in just in case it's causing a problem I'm not aware of. Title: Re: Issues with propertygrid('beginEdit', i) Post by: stworthy on October 13, 2014, 03:33:46 PM Please set the 'editor' property for 'value' column in 'onBeforeEdit' event.
Code: $('#pg').propertygrid({Title: Re: Issues with propertygrid('beginEdit', i) Post by: chrwei on October 13, 2014, 04:10:49 PM so beginEdit intentionally doesn't do this automatically? that seems counter-intuitive, and the docs don't mention it.
Title: Re: Issues with propertygrid('beginEdit', i) Post by: stworthy on October 13, 2014, 06:45:39 PM This issue will be fixed in next version. You can download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4-patch.zip
Title: Re: Issues with propertygrid('beginEdit', i) Post by: chrwei on October 14, 2014, 05:53:10 AM thanks ;D
|