• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

How to create a custom theme for datagrids

General Discussion
2
3
444
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    niug last edited by 7 May 2020, 06:13

    Hi, I'm developing a custom theme for Bagisto without Vue. I prefer develop with Bootstrap and jQuery theme, and all is working perfectly except the pages that have Datagrids. For example the Cusomer Account Orders. This page only show the info if you inizialize the vue aplication.

    Can you help me and say me the best way for develop a new custom template for datagrids? I see the Blade of the datagrids in the code, but I prefer develop a custom module o template.

    Thank you!

    1 Reply Last reply Reply Quote 0
    • N
      niug last edited by 7 May 2020, 09:50

      Hi all, after testing some ideas, I found the solution creating the folder 'datagrid' in the resources/themes/myTheme/views. In this folder I create the file table.blade.php and body.blade.php and with this files I can customize datatables with the Bootstrap Datatable.

      The original blade file of the datagrid is in the follow path:

      packages/Webkul/Ui/src/Resources/views/datagrid/body.blade.php

      I wish that this solution can help someone like me.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • P
        prateek-webkul last edited by 7 May 2020, 11:06

        yes, in this way you can develop your own custom theme for datagrids.

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post