Skip to content
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

Documents for how to write templete? #41

Closed
wgwi opened this issue Mar 3, 2014 · 1 comment
Closed

Documents for how to write templete? #41

wgwi opened this issue Mar 3, 2014 · 1 comment

Comments

@wgwi
Copy link

wgwi commented Mar 3, 2014

view.py
class SampleDataTableView(DatatableView):
model = Group
datatable_options = {
'columns': [
'id',
'name',
]
}

"datatableview.initialize($('.mytable'));"
But Just place above line in templete give no records like this.
result

@wgwi
Copy link
Author

wgwi commented Mar 6, 2014

Just know how to cop with it.
simple write fellowing code in templete
{{ datatable }}

@tiliv tiliv closed this as completed Mar 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants