Title: Simple implementation of Row Editing in DataGrid Post by: ltpitt on March 03, 2014, 03:26:51 PM Hi everybody :)
I am struggling on this example: http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem= (To see what I talk about you need to select "Row Editing in DataGrid" on the left) It looks like a simple datagrid loading data from json and a nice combobox loading data from a different json. They work together nicely. I've simply tried to do the same on my webserver: http://pitto.dyndns.org/icompass/test.html The thing won't work: initial data is not loaded in the combobox. If I simply click so modify it then I see data in it. I've just copied the example: what am I doing wrong? Title: Re: Simple implementation of Row Editing in DataGrid Post by: Andy1980 on March 04, 2014, 04:17:55 AM sorry can't open your link,
but u should do the following like in examples: Code: for the content of your combobox: Code: for defining the datagrid. as you can see it uses the products json as data for the combo. This works fine with me. you find the example right here: http://www.jeasyui.com/tutorial/datagrid/datagrid12.php |