New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add some features of DataTables plugin (including Excel export) #398
Conversation
+1 Great contribution! |
Does it apply to the chart too? |
Great contribution! |
Things to consider:
May be we can partially adopt DataTable features to keep Zeppelin simple. |
Maybe we could also do some angular code for once: http://l-lin.github.io/angular-datatables/#/withTableTools |
Great contribution! |
I know some scenarios where the print function would be needed. Would be to have it in there. |
I would prefer to have on PDF instead of print. |
@anthonycorbacho Yes. Is there an export to pdf for charts too? (Little off topic sorry!) |
@julienjtpierre nope, I guess this PR should introduce this feature since it brings the ability to export. |
@swkimme I'm OK with you keeping Zeppelin simple. To make use of the buttons above, we simply need to modify the aButtons initialisation option, as shown in the example below.
|
+1 for copy (copy to clipboard?) |
@anthonycorbacho @julienjtpierre I wanted some features to download directly from HTML tables of client-side, not from the server-side. But zeppelin chart does not come from HTML tables of client-side. |
@corneadoug I had known about the angular-datatables (http://l-lin.github.io/angular-datatables/#/withTableTools) |
Hi, @felixcheung Of course, we can. Thanks. |
On second thought, I'd better add +1 copy and +1 pdf. And -1 csv, because it's pretty similar to excel. What do you think? |
I think Copy is not needed, Excel neither. CSV is way better than Excel since everything can read CSV (Excel program also), however not everything can read Excel format. If such options should be provided, it should be: Now, the download Data should probably be the one used by the current visualization (Data transformed by pivot for Charts, Table data without pivot since we don't have pivot function on it) For the other features of DataTables, It doesn't make sense to restrict it to Table only, I think this kind of feature request should be discussed in the mailing list :) |
Totally agree with @corneadoug for Copy and CSV. ps) This thread is so Hot! Thanks for great contribution again! |
@corneadoug I agree with @swkimme that downloading CSV will be a better choice for large tables.
Is there any additional requirements? |
Sounds good if ctrl-c works well... |
Such a great thing |
Great contribution! |
I really want this feature! Great contribution! (:- |
yeah, I aggre with @corneadoug about the pdf part, this must export what the user see. |
@hyonaldo We're now in transition of code base to ASF repo. With some reason, changes in NFLabs/zeppelin will not be automatically transfered to apache/incubator-zeppelin repo since 20/Mar. Could you please re-create your pull request to https://github.com/apache/incubator-zeppelin? |
Hi, @Leemoonsoo Sure, I would readily accept your proposal. |
This conversation has moved to following page. |
@hyonaldo Thanks for recreating the PullRequest. |
Prepend ZEPPELIN_CLASSPATH_OVERRIDES environment variable when building CLASSPATH in the shell scripts. This PR replaces the closed ZEPL#398 and #386 - Sorry for the mess... Author: Eric Charles <eric@datalayer.io> Closes #412 from echarles/ZEPPELIN-383-CLASSPATH_OVERRIDES and squashes the following commits: 8572ec5 [Eric Charles] Use ZEPPELIN_CLASSPATH_OVERRIDES instead of CLASSPATH_OVERRIDES d63cc55 [Eric Charles] Prepend CLASSPATH_OVERRIDES environment variable when building CLASSPATH in the shell scripts
Hi. I'm Hyokyun Park.
I needed to download HTML tables on the notebook to my local PC.
So I applied the jquery plugin DataTables (available under the MIT license) to zeppelin-web.
https://www.datatables.net/
I used TableTools extension which is a plug-in for the DataTables for Excel-export feature.
DataTables has most features Sorting(ordering), searcing, paging etc goodness, as shown below.
I want to contribute to this project.
Review and comment, please.