Export DataTable to Excel, CSV, Print & PDF in JetEngine Wordpres with Elementor

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 96

  • @danicalouwe
    @danicalouwe 2 ปีที่แล้ว +1

    Thanks Moxet! My client requested this download feature for their members data and saw your video. Thanks!

    • @MoxetKhanPK
      @MoxetKhanPK  2 ปีที่แล้ว

      You are welcome, i am glade that it solve your problem :)

  • @comleonmoto
    @comleonmoto ปีที่แล้ว

    Just found this amazing tutorial, thank you Abdul. You're great!

  • @websimmm
    @websimmm ปีที่แล้ว +2

    I would like to implement the print, pdf buttons and also the calculation of columns such as: addition, subtraction, percentage of the total.

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว +1

      Yes possible, check datatable documentations

    • @websimmm
      @websimmm ปีที่แล้ว

      @@MoxetKhanPK Hi partner!
      I could not. I put a footercallback but it didn't bring the result.

  • @stillready6405
    @stillready6405 2 ปีที่แล้ว +1

    Wow, thank you very much for sharing this video with us. This and you other videos are very good and helpful!

  • @rain47ful
    @rain47ful 10 หลายเดือนก่อน

    Hello professor, I am on a project and here I am really stuck yes really... I come to you to learn some notions "the sum of a desired column in DATA table" I have seen the DATA TABLE documentation but frankly I don't know how to apply this. It will be the best gift just an example of a table but which displays the sum of a desired column really thank you...

  • @websimmm
    @websimmm ปีที่แล้ว +1

    Hello partner!
    Would it be possible to implement in addition to the buttons the sum of columns in the table?
    thanks for the tip

  • @robinportocarrero640
    @robinportocarrero640 11 หลายเดือนก่อน +2

    Hello, how can I export my active subscriber users from my website through a button. that the button says, for example: EXPORT LIST, and that list is a list in EXCEL and that only the users or active members of my website appear. Which is a monthly subscription website. I appreciate the help and the response!!

    • @MoxetKhanPK
      @MoxetKhanPK  11 หลายเดือนก่อน +1

      The easiest way is to run a query in query builder which fetch all user with a role ACTIVE etc. display them in dynamic table and apply the same logic of button.

    • @robinportocarrero640
      @robinportocarrero640 11 หลายเดือนก่อน +1

      @@MoxetKhanPK You could help me with that issue. The truth is I don't really understand how it could be done. or maybe make a video with this specific topic. I would like to contact you to see how we could do it. Let me know because I'm interested, a hug!!

    • @MoxetKhanPK
      @MoxetKhanPK  11 หลายเดือนก่อน

      @@robinportocarrero640 text me on insta or moxetkhan@gmail.com, let me check..

  • @ErikaWoelke
    @ErikaWoelke ปีที่แล้ว

    Hi Moxet, thanks for share this! Great tutorial!!! I have some rich text fields in table. In the XLS these fields loses formatting. Any suggestion?

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว +1

      Hello Erika, please refer to datatable forum, they have dozens of resources on such issues.
      datatables.net/forums/

    • @ErikaWoelke
      @ErikaWoelke ปีที่แล้ว

      @@MoxetKhanPK Thanks!!!

  • @officialsimeontaiwo
    @officialsimeontaiwo วันที่ผ่านมา

    Thank you so much for this tutorial. Please, I have an issue with pagination and name search (for users) when I'm using Jet Dynamic Table with the 'User' custom query. It seems impossible to have pagination if the custom query is 'user query' and not post query. Also, it's difficult getting the search widget of jet smart filters to work in sync with the user data table, where I need it to search for users either by their first_name or their display_name. Can you help, please?

    • @MoxetKhanPK
      @MoxetKhanPK  6 ชั่วโมงที่ผ่านมา

      You can use almost any query with datatable.

  • @anthonyespino7214
    @anthonyespino7214 ปีที่แล้ว

    Hello, thanks for sharing your knowledge. How would the code be to be able to export in cvs, excel, pdf, etc and the translation. What would all the code look like together? . I'm trying but it doesn't work :(

  • @neoacla
    @neoacla ปีที่แล้ว

    Hi Moxet, very helpful video.
    Question, can you create a video as well on adding Download PDF button and view pdf link next to the CPT admin column. Basically when a post is created it will generate a pdf download / view link.
    Thanks

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      You have to use plugin for that

    • @neoacla
      @neoacla ปีที่แล้ว

      @@MoxetKhanPK any recommendations?

  • @rafstudio25
    @rafstudio25 4 หลายเดือนก่อน

    I am very happy to find your TH-cam, it is very inspiring for me. Can you make a tutorial about exporting data using JetEngine? like you made a tutorial about tickets. Thank You

    • @MoxetKhanPK
      @MoxetKhanPK  4 หลายเดือนก่อน

      Hello, you can use the same table to export data from jetengine, if you have CPT or CCT display them in this table and put export buttons.

  • @Janther12
    @Janther12 ปีที่แล้ว

    Hello, thank you very much for this great tutorial. I was wondering if there is a possibility that only the buttons are shown?

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      Hi Jim, Yes you can hide table if you need only export, and there is another method for hidding columns as well.

    • @orelhassid
      @orelhassid ปีที่แล้ว +1

      DataTable( {
      bPaginate: false,
      searching: false, paging: false, info: false
      } );
      Try this

  • @layarlaras
    @layarlaras ปีที่แล้ว +1

    Hi, i have a question, in the exported file, there are page title, how to remove it ? thanks sir.

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว +1

      Hi, use this code
      datatables.net/forums/discussion/44103/how-to-remove-title-in-print-view

    • @layarlaras
      @layarlaras ปีที่แล้ว

      @@MoxetKhanPK thank you 🥰

  • @JubranZakri
    @JubranZakri ปีที่แล้ว

    I really can't thank you enough for this great tutorials. you are the man!

  • @razakahmad12
    @razakahmad12 ปีที่แล้ว +1

    very helpful video.

  • @davidtedde9634
    @davidtedde9634 7 หลายเดือนก่อน

    You saved me hours, thank you!

    • @MoxetKhanPK
      @MoxetKhanPK  7 หลายเดือนก่อน +1

      Welcome

  • @awan.januari
    @awan.januari ปีที่แล้ว

    Hi Moxet, thanks for your tutorial! It's very useful. But how about multiple table in the same page. I tried to make it, but only first table work fine.

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      Hello, it works on multiple table in single page as well, make sure to define them with class not ID, just like we use .jet-dynamic-table

    • @awan.januari
      @awan.januari ปีที่แล้ว

      I did it, but the buttons doesn't show up. I have put a class in the elementor advanced properties and it didn't work.

    • @awan.januari
      @awan.januari ปีที่แล้ว

      Now I knew the problem is. It's because I'm using exportOptions: columns [ ... ] in buttons property. While the number of columns with each other is different. 😢

  • @KamalSingh-zo1ol
    @KamalSingh-zo1ol 2 ปีที่แล้ว

    Hi Moxet, Much respect for making this video available so quickly. One more question. Will it work if I connect these tables to jetfilters and will it export csv after application of filters? If not, then is there an easy way to apply filters via JavaScript?

    • @MoxetKhanPK
      @MoxetKhanPK  2 ปีที่แล้ว +1

      Thank you Kaldeep, Yes it will work with Jetfilter.

    • @JubranZakri
      @JubranZakri ปีที่แล้ว +1

      @@MoxetKhanPK many thanks for your great videos, me too I want to know how to connect this table to cct and export data by jetsmartfilter. thank you again

  • @7xn
    @7xn ปีที่แล้ว

    Thank you fro the video, how we can filter data and print it? i used smart filters to filter out data but all exported :(

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      Use DataTable filter instead of JetSmart Filter, your data will be clean

  • @LeandroUbinski
    @LeandroUbinski ปีที่แล้ว +1

    Hi, always a great video. To use the JetEngine Tables when creating the Query, the number of records is limited... only if we put (-1) in the Query does the pagination work but makes the system slow depending on the number of records, I have 350 here and that's it taking almost 30 seconds. If you don't, it just shows the number of records defined in WordPress.
    Is there any solution?

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว +1

      If you want to show the records using Datatable then you can bypass the query builder pagination/records per page. Datatable itself has pagination and number of records per page. 350 is very less number i have more than 5000 records and it works well in datatable.

  • @daviduarte22
    @daviduarte22 2 ปีที่แล้ว

    I'm not able to put the translate and download script in the same expression if you can explain how to do it

  • @daviduarte22
    @daviduarte22 2 ปีที่แล้ว +1

    thanks for the content, I managed to do everything you showed but how do I put the two functions at the same time to translate and export

    • @MoxetKhanPK
      @MoxetKhanPK  2 ปีที่แล้ว

      Hello, you can apply this code.

      jQuery(document).ready(function($) {
      $('.jet-dynamic-table').DataTable( {
      language: {
      search: 'In der Tabelle finden',
      },
      dom: 'Bfrtip',
      buttons: [
      'copy', 'csv', 'excel', 'pdf', 'print'
      ]
      } );
      });

    • @daviduarte22
      @daviduarte22 2 ปีที่แล้ว

      @@MoxetKhanPK ohhh javascript thanks

    • @bompard07
      @bompard07 ปีที่แล้ว

      @@MoxetKhanPK Hi and thanks a big big lot for this tutorial. Although I tried to add the Page length options to exports but I didn't succeed... Would you kindly have a suggestion ?
      here's the code I tried to enter :
      jQuery(document).ready(function($) {
      $('.jet-dynamic-table').DataTable( {
      dom: 'Bfrtip',
      buttons: [
      'copy', 'csv', 'excel', 'pdf', 'print'
      ]
      },
      {
      "lengthMenu": [ [10, 25, 50, -1], [10, 25, 50, "All"] ]
      });
      });
      Thanks

  • @abdulrahmanmohammed6690
    @abdulrahmanmohammed6690 2 ปีที่แล้ว +1

    hi moxet, What if the table requires rtl, how do I configure the pdf and print? Thank you !

    • @MoxetKhanPK
      @MoxetKhanPK  2 ปีที่แล้ว

      It is duable, datatable support Arabic language as well, please check here
      datatables.net/extensions/fixedcolumns/examples/styling/rtl.html

  • @patrickduhaut3783
    @patrickduhaut3783 ปีที่แล้ว

    Thank a lot for this trick! 😉

  • @FabioFranciscomasterevolution
    @FabioFranciscomasterevolution ปีที่แล้ว +1

    Hello! I would like to translate the copy print buttons into Portuguese Brazilian language, your tutorials are magnificent

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว +1

      Hello, please check this page
      stackoverflow.com/questions/13342494/how-to-change-language-for-datatable

  • @anthonyespino7214
    @anthonyespino7214 2 ปีที่แล้ว

    Hello, I'm from Peru, how could I export csv, pdf, etc, but for a listing, could you please help me?

    • @MoxetKhanPK
      @MoxetKhanPK  2 ปีที่แล้ว

      You need to show your listing in Table, listing itself can't be exported.

  • @KunalPandyaMaverick
    @KunalPandyaMaverick 2 ปีที่แล้ว +1

    Hi Moxet, i am the one who posted about data table export thing in the community. I am trying to do what you have just shown in the video but Buttons are not showing. Pls help.

    • @MoxetKhanPK
      @MoxetKhanPK  2 ปีที่แล้ว +1

      Hello Kunal, based on our conversation in facebook, i hope the problem is fixed now :)

  • @wellingtonmacedos
    @wellingtonmacedos ปีที่แล้ว

    I added it to mine, but it only printed 10 data. How can I fetch all records from the table?

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      It is due to query, double check in query builder post per page and increase it

  • @JubranZakri
    @JubranZakri ปีที่แล้ว

    One question please, I tried to add the buttons code + translation code but I failed to make it work. How Can I do this?

    • @JubranZakri
      @JubranZakri ปีที่แล้ว

      it finally worked, thanks

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      There is issues in bracker, comma sometime, if all placed correctly it will work.

  • @sgogroup7152
    @sgogroup7152 ปีที่แล้ว

    Hey, does it works with jet appoitment if iil use qury builder to build an sql db ?

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      it works with any table from db.

  • @anthonyespino7214
    @anthonyespino7214 ปีที่แล้ว

    Hello friend, do you know why it doesn't show me the paginations? I have 50 posts and only in the table it shows me 10, but it doesn't show me the pagination numbers and when I export the data, only 10 posts appear. How could I solve it? Aid!!. Thanks for your time.

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      Seems you are showing data from query builder? Make sure in query builder you ignore post per page, make it 0 or empty or 100000 i dont remember exactly but dont control pagination in query.

    • @anthonyespino7214
      @anthonyespino7214 ปีที่แล้ว

      @@MoxetKhanPK Hello friend, I already did it as you told me, but I still have the same problem, I have 50 posts, but only 10 appear and the pagination does not appear to continue showing more posts and when I export in csv, it only takes the 10 posts. Please help me. Thanks for your valuable time friend. Greetings

  • @pokoman540
    @pokoman540 2 ปีที่แล้ว

    Hi Moxet. I have seen this tutorial, these was really great.
    But I still need an extended tutorial about exporting the filtered data.
    Actually, I have doctor's appointment website. So, I want to export csv file of today, weekly, monthly appointment list.
    Could you please explain how can I export filtered csv file?
    I follow this tutorial, but I exported whole list from the beginning day.

    • @MoxetKhanPK
      @MoxetKhanPK  2 ปีที่แล้ว

      Hello, if you want to filter by date/rang you can use this code to extend the functionality of datatable.
      datatables.net/extensions/datetime/examples/integration/datatables.html
      If you are planning to add more filters in future, better to go with jetsmartfilter but for date rang this works fine. Make sure your date format match with the format mentioned in datatable.

    • @pokoman540
      @pokoman540 2 ปีที่แล้ว

      Actually, I used jetsmartfilter. It works fine. But when I want to export the data as CSV, this is not working. The exported file contain the whole database.
      I just want to export the Filtered Data.
      And Thanks for reply me.

    • @roygh
      @roygh 2 ปีที่แล้ว

      @@pokoman540 Did you manage to do it?

    • @pokoman540
      @pokoman540 2 ปีที่แล้ว

      No

  • @diogo_ferrarezi
    @diogo_ferrarezi ปีที่แล้ว

    Top demais !!! Obrigado

  • @bompard07
    @bompard07 ปีที่แล้ว

    Thanks again :) :)

  • @roygh
    @roygh 2 ปีที่แล้ว +1

    Does it work with jetsmartfilter?

    • @MoxetKhanPK
      @MoxetKhanPK  2 ปีที่แล้ว

      Yes it works with smartfilter; watch Kate video on Crocoblock

    • @roygh
      @roygh 2 ปีที่แล้ว +1

      I know that, but I mean that when filtering only export what is filtered, but not only what the query throws

  • @wellingtonmacedos
    @wellingtonmacedos 6 หลายเดือนก่อน

    I managed to insert the table, everything is ok, except one thing: It only appears for users logged in to Wordpress

    • @wellingtonmacedos
      @wellingtonmacedos 6 หลายเดือนก่อน

      In fact, only admins can view

  • @acarakyta9307
    @acarakyta9307 6 หลายเดือนก่อน

    How to add edit and dalate on table builder prof?

    • @MoxetKhanPK
      @MoxetKhanPK  6 หลายเดือนก่อน

      Use jetform

    • @acarakyta9307
      @acarakyta9307 6 หลายเดือนก่อน

      @@MoxetKhanPK but I can't add edit icon on table builder

    • @MoxetKhanPK
      @MoxetKhanPK  6 หลายเดือนก่อน

      @@acarakyta9307 send me request on fiverr

  • @stephenandrewjacobs
    @stephenandrewjacobs ปีที่แล้ว +1

    Hi Moxet, can you perhaps make a video regarding dynamic repeater table, please. Is it possible to have data export buttons too? th-cam.com/video/O8z5Huc6mEQ/w-d-xo.html

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      In the video when she add table in before, you have to give a class to that table. The same class will be use in datatable :)

  • @BatdongsanGo99-lp8ne
    @BatdongsanGo99-lp8ne ปีที่แล้ว

    Hi, thanks for your video. Can you help me that reason : how if i want export to excel when my dynamic table have a coluum had image ( it load by Elementor template - Jet Listings th-cam.com/video/X3KK76UZZ3w/w-d-xo.html ). I want image display on excel file too. thanks ....

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว +1

      Hello, you have to check this guideline.
      datatables.net/forums/discussion/65174

    • @BatdongsanGo99-lp8ne
      @BatdongsanGo99-lp8ne ปีที่แล้ว

      @@MoxetKhanPK Thanks for your answer. But i don't know coding, i can show me another easy way to do it ??

  • @bompard07
    @bompard07 ปีที่แล้ว +1

    Hi and thanks a big big lot for this tutorial. Although I tried to add the Page length options to exports but I didn't succeed... Would you kindly have a suggestion ?
    here's the code I tried to enter :
    jQuery(document).ready(function($) {
    $('.jet-dynamic-table').DataTable( {
    dom: 'Bfrtip',
    buttons: [
    'copy', 'csv', 'excel', 'pdf', 'print'
    ]
    },
    {
    "lengthMenu": [ [10, 25, 50, -1], [10, 25, 50, "All"] ]
    });
    });
    Thanks again :)

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว +1

      As per datatable documentation, native drop down is bypass if we use button. Try this code

      jQuery(document).ready(function($) {
      $('.jet-dynamic-table').DataTable( {
      dom: 'Bfrtip',
      lengthMenu: [
      [ 10, 25, 50, -1 ],
      [ '10 rows', '25 rows', '50 rows', 'Show all' ]
      ],
      buttons: [
      'copy', 'csv', 'excel', 'pdf', 'print', 'pageLength'
      ]
      } );
      });

    • @bompard07
      @bompard07 ปีที่แล้ว

      @@MoxetKhanPK THANKS AN AWFUL LOT !
      That is great.
      This is really kind of you to have taken the time to come back to this subject.🙏

    • @MoxetKhanPK
      @MoxetKhanPK  ปีที่แล้ว

      @@bompard07 you are welcome