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

TbExtendedGridView. Sortable attribute with value "0" #391

Closed
turboezh opened this issue Mar 18, 2013 · 2 comments
Closed

TbExtendedGridView. Sortable attribute with value "0" #391

turboezh opened this issue Mar 18, 2013 · 2 comments

Comments

@turboezh
Copy link

Sortable attribute with value "0" makes TbExtendedGridView::renderKeys() work as "sortableRows"=false. So there is no "data-order" injects in keys list and no data sends to sortableAction.

Problem line - widgets\TbExtendedGridView.php:243

@magefad
Copy link
Contributor

magefad commented Mar 29, 2013

@turboezh try with this fix.
And sure about $this->sortableAttribute = '0', now $this->sortableAttribute = 0;

@hijarian
Copy link
Contributor

Okay, closing this issue.

kanyuga pushed a commit to kanyuga/YiiBooster that referenced this issue Nov 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants