Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding dataTableVariable property to Services/DataTables #33

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

Merged
yajra merged 2 commits into yajra:master from lk77:patch-2
Aug 23, 2017

Conversation

@lk77
Copy link
Contributor

@lk77 lk77 commented Aug 22, 2017
edited
Loading

Hello,

i'm adding dataTableVariable property to Services/DataTables.
The default value is dataTable like before, but can be overwritten by setting the dataTableVariable property in our custom dataTable class :

$dataTableVariable = 'MyDataTable';

Thanks.

yajra reacted with thumbs up emoji


/**
* Name of the dataTable variable
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a period.

Copy link
Owner

yajra commented Aug 22, 2017

Looks good. Just need some patch on docs. Thanks!

Copy link
Contributor Author

lk77 commented Aug 22, 2017

I've corrected the typo.
For the docs, i don't know where to put it, in buttons-starter.md ?

@yajra yajra merged commit 3eb6554 into yajra:master Aug 23, 2017
Copy link
Owner

yajra commented Aug 23, 2017

Thanks, maybe we should add a new doc file to document service class properties? There are also undocumented properties like exportColumns, printColumns, printPreview, etc..

Copy link
Contributor Author

lk77 commented Aug 23, 2017

yes i think we need a new documentation file for the properties and methods of the service class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yajra yajra yajra left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /