Giter Site home page Giter Site logo

freshbitsweb / laratables-demo Goto Github PK

View Code? Open in Web Editor NEW
20.0 3.0 7.0 195 KB

Demo of the Laratables package

Home Page: https://laratables.freshbits.in

PHP 84.81% HTML 15.19%
php laravel laravel-5-package datatables datatables-ajax datatables-serverside demo

laratables-demo's People

Contributors

gauravmak avatar hirenkeraliya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laratables-demo's Issues

Adding Action Buttons

Hi Thanks for this package, has made life easier with DT's

I am not so clear about adding view, edit and delete buttons to the rows,
from your example, you added functions to the model,
I tried but did not work with adding parameters like hashId of the current row Id,

it will be better to avoid adding functions to Model, and add them in the blade or in the controller, DT have this working with their examples, will the same work with This package?

Thanks
Salah

use of laratablesQueryConditions

In this demo (which I find very useful) you use all the possibilities of LaraTables except the method "laratablesQueryConditions".
I reproduced this demo because the project i'm working on is very similar. I need 3 queries (tables) on one page and I also use an accordeon to show them.
Each query however is a subset of a db table with differents where's. To alter my query (in stead of all data) I need to use laratablesQueryConditions, if I understood correctly.
However, the query that I place in this method will always be excecuted with that model and I need 3 different queries.
I would have liked to see an example of the use of this method in your demo but my question is in fact, is it even possible what I want?

Undefined Index

Hi
Calls to the package always returns and Undefined Index error

It seems to reference freshbitsweb/laratables/src/ColumnManager.php on line 209

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.