Answer the question
In order to leave comments, you need to log in
How to set anchor for gridview?
How to set name attribute in gridview. That is, I have a demos.krajee.com/grid widget And I use expand row there, I just need to implement anchors there. I need that when the notification is clicked, it should go as an anchor to this order and the order should open. Just i tried in gridview tried many times options in columns
'contentOptions' => ['name' => $model->id_zakaz, 'style' => 'border-radius: 19px 0px 0px 19px;'],
Answer the question
In order to leave comments, you need to log in
The anchor is not set on the gridview, but on the link.
At the same time, some line or block will have an id equal to the anchor.
and, accordingly, the link leading there, for example, this<a href="#zakaz-12">тык</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question