D
D
des1roer2015-05-19 06:34:21
Yii
des1roer, 2015-05-19 06:34:21

Yii complex table?

Can you please tell me how to implement the following?
onHFB.png
About TbGroupGridView in the know. So I can group by recipient
SA2m7.png
But how to bring the footer to the center, and more than one?
Or spit and make a few grids? Who has any thoughts?
---
As far as I understand, 'extraRowColumns'=> array('firstLetter') should also be used?
---
upd
despite the fact that they say here that any table can be implemented on yii mona, I think it might be worth using the same https://www.datatables.net/examples/advanced_init/... instead of the standard grid. how do you like this decision?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Tupikov, 2015-05-19
@Unclead

Maybe this extension will work demos.krajee.com/grid-demo

X
xtalen, 2015-05-19
@xom9lk

1) Look at the code of TbGroupGridView and TbTotalSumColumn, its developer had exactly the same task as you. He successfully solved it. In his code is a solution ready for you. You just have to compose and change a little.
2) It is much more productive, which is relevant for large amounts of data, not to use the extension, but to display the data as you need using conventional means. echo '';
3) I advise you to use not server power, but a client for drawing (with the same ReactJS it will turn out very beautiful, extensible and compact).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question