jqgrid外部控件示例
我是 JQ 和 JQ 网格的新手。我最近用 jqgrid 设置了我的管理员..它看起来很棒。现在我想在网站前面添加一些表单,但我无法清楚地了解“外部控制”。我想要一个不附加到网格的独立表单
这个答案已提供,但我不知道如何处理它。 这是外部控件的哪一部分:ise
$("#id").jqGrid ('searchGrid', {multipleSearch:true, overlay: false});
确实,“myfirstgrid”教程和 jqGrid 演示之间的混淆令人恼火。
有人能提供一个不附加到网格的 ADD 表单的小型工作模型吗?网格很棒,但我想要一个干净的表单来输入数据。
例如:
page.html(包括所有的JQ)
page.php
我见过一些小例子,但没有看到关于此外部控制请求的例子。 我想你可以使用这段代码并简单地添加控件,我可能可以从那里得到它: http://www.trirand.com/blog/phpjqgrid /examples/editing_data/add_new_row/default.php#HTMLContent
I'm new to JQ and JQ grid. I recenly got my admin all set up with jqgrid..it looks great. Now I want to add a few forms to the front of the site and I can NOT get a clear understanding on 'external controls'. I want a stand alone form not attached to a grid
This answer was offered, but I have no idea what to do with it.
What part of the external control is this:ise
$("#id").jqGrid ('searchGrid', {multipleSearch:true, overlay: false});
Really, the confusion between the 'myfirstgrid' tutorial and the jqGrid Demos is exausting.
Would some one be so kind to supply a small working model of a form ADD not attached to the grid. The grid is great, but I want to have a clean form to enter the data.
Ex:
page.html (including all of the JQ)
page.php
I've seen small examples, but none concerning this external control request.
You could use this code i suppose and simply add the control, I could probably get it from there:
http://www.trirand.com/blog/phpjqgrid/examples/editing_data/add_new_row/default.php#HTMLContent
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您不喜欢,则不必使用内置的添加行表单。您始终可以在页面上的其他位置创建自己的表单,并使用它通过
addRowData
方法以编程方式将行添加到 jqGrid。您可以在此处查看如何使用
addRowData
的示例正确。You don't have to use the built in add row form if you don't like. You can always create your own form elsewhere on the page and use it to add rows to the jqGrid programatically using the
addRowData
method.You can have a look here to see an example of how to use
addRowData
correctly.