EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: dies_felices on August 04, 2015, 01:00:10 PM



Title: Unable to edit cells in datagrid [Resolved]
Post by: dies_felices on August 04, 2015, 01:00:10 PM
Hi,

When I click on a cell to edit it, only the row becomes highlighted.

Please see my example:
http://jsfiddle.net/3L4ej4dx/51/

Ideally, I'd like the first column to be become a drop down box listing the various values in that column as options.


Title: Re: Unable edit cells in datagrid
Post by: stworthy on August 04, 2015, 05:50:13 PM
Please try this updated example http://jsfiddle.net/3L4ej4dx/63/


Title: Re: Unable to edit cells in datagrid
Post by: dies_felices on August 05, 2015, 10:27:29 AM
Hi,

Thanks, as a stand alone example that works great.  I think in trying to write a concise and to the point question, I left out important contextual information.  For that I apologise.

Please see this example http://jsfiddle.net/3L4ej4dx/72/

It is in the child window where the data needs to display and be editable.


Title: Re: Unable to edit cells in datagrid
Post by: dies_felices on August 06, 2015, 06:28:15 AM
Please accept this update as I have made progress.

I have found that at some point in my examples I lost the <script type="text/javascript" src="http://www.jeasyui.com/easyui/datagrid-cellediting.js"></script> from the headers.

Thus giving the following example:  http://jsfiddle.net/3L4ej4dx/78/

Thank you for your help.