When I first time filter or sort the field of gridview ,after that enable the relational data field sorting link,
so, how can i solve this issue.
Here i attached two image that describe the before filtering or sorting and after that.
Link Url :
before filter: http://i.stack.imgur.com/bDJoG.png
after filter: http://i.stack.imgur.com/lXnfY.png
I have a two table one of is
student_info_id (primary key)
(student_info_id = student_trans_info_id)
After do googling i found my mistake.
My mistake was that i added
$dataProvider->sort->attributes code after
$this->load(); function; so it mean after loading the filtered data than enable sorting link.
Now, i resolved my mistake with put the
**@Paul van Schayck** post....