EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 10, 2024, 10:11:39 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Re-load datagrid with new HTML rows
Pages: [
1
]
« previous
next »
Print
Author
Topic: Re-load datagrid with new HTML rows (Read 17917 times)
mjkahn
Newbie
Posts: 4
Re-load datagrid with new HTML rows
«
on:
July 27, 2011, 04:57:02 AM »
I have an HTML table that I've turned into a datagrid, and it displays beautifully.
When the user clicks a button on the page, I have some JavaScript that communicates with the server, gets the HTML for some new rows, and replaces the original table's contents with the new rows. That's working fine, but I can't seem to get the datagrid to display the new data. Any suggestions?
Thanks very much!
Logged
mjkahn
Newbie
Posts: 4
Re: Re-load datagrid with new HTML rows
«
Reply #1 on:
July 27, 2011, 06:56:19 AM »
I took the easy way out and just removed the HTML table from the DOM, then added it back in again. After that, I re-create the datagrid from the new table. This works fine.
I'd still like to know if there's a way to force a datagrid to load itself from new HTML table rows, but the need is less urgent now.
Thanks!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...