Flexigrid for jQuery - 如何编辑/更新网格中的记录?

发布于 2024-07-30 03:20:03 字数 346 浏览 1 评论 0原文

我正在创建一个表单,该表单将填充 MYSQL 数据库中的数据,并允许我编辑/更新表单中的数据并将更新保存在数据库中。

Flexigrid 看起来是一个很好的输出结果解决方案,但我不知道如何使用 Flexigrid 来修改数据并将更新保存到数据库。 这可能吗? 有没有更好的方法来实现这一点?

谢谢

Nate

Flexigrid for jQuery - http://groups.google.com/group/flexigrid

I'm looking to create a form which will populate with data from my MYSQL database and allow me to edit/update the data in the form and have the updates saved in the database.

Flexigrid looks like a great solution to output results but I'm not seeing how Flexigrid can be used to modify data and save the updates to the database. Is this possible? Is there a better way to make this happen?

Thanks,

Nate

Flexigrid for jQuery - http://groups.google.com/group/flexigrid

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

紙鸢 2024-08-06 03:20:03

我最近对类似产品 jqGrid 做了很多工作。 它提供了所有这些功能并拥有大量文档。 它使用 jquery 并可使用 jquery UI

I recently did a lot of work with a similar product, jqGrid. It offers all of that functionality and has a ton of documentation. It uses jquery and is themeable with with jquery UI

_畞蕅 2024-08-06 03:20:03

为什么不使用内置的 功能? 它允许您以多种格式(HTML、flash、xml)输出数据网格,并允许您将网格绑定到 JavaScript 方法、CFC 或普通页面请求,以处理网格事件(例如更新其中的数据)。

查看“动态编辑网格内容”部分,了解有关如何进行网格编辑的更多信息。

然而要记住的一件事是,如果您使用 HTML 格式,CF 将包含大量外部库(Extjs 和 YUI)来处理网格。 如果您首选框架,您仍然应该能够将 jQuery 与网格结合使用(即处理网格活动)。

Why not use the built in <cfgrid> functionality? It lets you output the data grid in several formats (HTML, flash, xml) and lets you bind the grid to JavaScript methods, a CFC, or normal page requests for handling grid events like the updating of the data within.

Take a look at the "Dynamically editing grid contents" section in the livedocs to read more about how grid editing can be done.

One thing to keep in mind however, is that if you use the HTML format CF will include a ton of external libraries (Extjs and YUI) to handle the grid. You should still be able to use jQuery in conjunction with the grid (ie handling grid activity) if that is your preferred framework.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文