Git Product home page Git Product logo

dtbundledemo's Introduction

DtBundleDemo

Symfony3 Demo Project For My DatatablesBundle

Install

1. Clone the project with Git:

git clone [email protected]:stwe/DtBundleDemo.git

2. Install assets and dump js routing

php bin/console assets:install --symlink
php bin/console fos:js-routing:dump

3. Run fixtures

php bin/console doctrine:fixtures:load --no-interaction

Login

Admin:

  • Username: root
  • Password: root

User:

  • Username: user
  • Password: user

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

dtbundledemo's People

Contributors

stwe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dtbundledemo's Issues

Installation instructions

I had to use the following to get this demo up and running:

  1. git clone https://github.com/stwe/DtBundleDemo.git
  2. cd into DtBundleDemo
  3. composer install
    NOTE: composer install ALSO creates the parameters.yml for the database/database user ...
  4. in your database, create a user (I called mine dtdemo), along with the database ... same as above
  5. php bin/console assets:install --symlink
  6. php bin/console fos:js-routing:dump
  7. php bin/console doctrine:schema:create
  8. php bin/console doctrine:fixtures:load --no-interaction

At this point, you should be able to run the server ... php bin/console server:run

MSSQL Support

I was trying to integrate the bundle with mssql, but this crashes without any error in logs or at any other place - it just throws a red link within firebug. The example is easy: I took the DemoBundle provided from your side, and changed the database to a mssql. In addition, I replaced the doctrine "string" type with a custom "UTF8StringType" that converts the string. Are there any information about how to use the bundle with mssql? I will move this issue to the real application.

How can I set the child row?

In the example I saw that the child row of datatable are these columns:

  • Published at
  • Created By

How they are put in the child row?
If I want to add an item in the child row What should I do?
thank you

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.