On previous enhancement, I made the sharing easy by using URL shortener. But what if you want to embed the table in your website? That was the main motivation on this enhancement to JSON Table Editor.
Embed the Grid
To embed the grid, you need to:
Use remote JSON data source.
Arrange the column width, if required
Click “Embed” button
Enter the Grid’s title
Click “OK” then you’ll get the HTML in the Output panel. You can then paste the HTML in your own website. You can see the sample at the end of this post.
Auto Resize the Column Width
The columns is now auto-resized based on the first row. I didn’t make it auto-resized based on all rows, because it will get expensive.
That’s all folks. I hope it helps.
Update 19 Aug 2019: It turns out that using shortened-URL as iframe’s src will make the iframe’s content not shown on mobile device. The iframe’s src now is using the long and ugly url.
GD Star Rating loading...
About Hardono
Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.
Port check is a free online tool to help you check whether the TCP port of a domain/IP Address is open.
You can check a single TCP Port, e.g. 80. Multiple ports, e.g. 22,80,443. Or range of ports, e.g. 1000-1100. For performance reason, one range can only contains maximum 100 TCP Ports
Single port check does not require recaptcha. Otherwise, it is required.
Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.
The Ping utility is an online free tool that help you to verify if a domain/server is operating and network accessible.
Ping uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams (“pings”) have an IP and ICMP header, followed by a struct timeval and then an arbitrary number of “pad” bytes used to fill out the packet.
Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.