EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 07, 2024, 01:44:40 AM
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
>
Is it possible to print datagrid?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Is it possible to print datagrid? (Read 12857 times)
lorwynz_11
Newbie
Posts: 19
Is it possible to print datagrid?
«
on:
October 09, 2013, 08:50:41 PM »
Is it possible to print the data inside the datagrid and print the pop up edit form from this tutorial?
http://www.jeasyui.com/tutorial/app/crud.php
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Is it possible to print datagrid?
«
Reply #1 on:
October 09, 2013, 11:28:12 PM »
There is no build-in printable functionality in datagrid plugin. The user must to achieve it himself.
Logged
lorwynz_11
Newbie
Posts: 19
Re: Is it possible to print datagrid?
«
Reply #2 on:
October 10, 2013, 12:21:12 AM »
how about export it in pdf or excel?
Logged
acreonte82
Jr. Member
Posts: 85
Re: Is it possible to print datagrid?
«
Reply #3 on:
October 11, 2013, 07:30:52 AM »
If you are using PHP you can use this class:
http://phpexcel.codeplex.com/
very easy to implement
Logged
lorwynz_11
Newbie
Posts: 19
Re: Is it possible to print datagrid?
«
Reply #4 on:
October 11, 2013, 06:08:54 PM »
how can I use it and connect to my datagrid?
Logged
arma
Full Member
Posts: 110
Re: Is it possible to print datagrid?
«
Reply #5 on:
October 13, 2013, 11:55:15 PM »
I guess there are 2 ways i know:
1. If the data grid is editable in client side you could send the grid data to server and convert the data to excel or any printable format, otherwise you could just convert directly based on the grid query. Just put a datagrid toolbar as a link button to download the excel file.
2. Open new browser window via js (window.open) and send the grid data to the new window. I guess you could format the data as html table so it's nicer to print.
«
Last Edit: October 13, 2013, 11:57:21 PM by arma
»
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...