jQuery MiniUI

标题: datagride编辑问题 [打印本页]

作者: 基本问题    时间: 2017-3-1 11:14:17     标题: datagride编辑问题

[attach]8885[/attach]我想在最后一行处回车自动添加新行,但我怎么弄都不好用,请问大神是我漏写完什么了吗?这是代码   <div id="datagrid3" class="mini-datagrid" style="width: 93%; height: 180px; margin: 0px 20px 20px 20px;"

                    idfield="id" allowcelledit="true" allowcellselect="true" multiselect="true" showpager="false"

                    editnextonenterkey="true" editnextrowcell="true">

                    <div property="columns">

                        <div type="indexcolumn" headeralign="center" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;">

                            序号</div>

                        <div name="tu3Atime" field="tu3Atime" width="100" dateformat="yyyy-MM" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;">

                            开始时间

                            <input property="editor" class="mini-datepicker" style="width: 100%;" /></div>

                        <div name="tu3Etime" field="tu3Etime" width="100" dateformat="yyyy-MM" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;">

                            结束时间

                            <input property="editor" class="mini-datepicker" style="width: 100%;" /></div>

                        <div type="checkcolumn" headerstyle="background: #CDEAFA;">

                        </div>

                    </div>

                </div>

[attach]8886[/attach]



作者: 基本问题    时间: 2017-3-1 11:20:13

我已经解决啦 js漏写啦
作者: felt    时间: 2017-3-1 11:41:08

基本问题 发表于 2017-3-1 11:20
我已经解决啦 js漏写啦






欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2