YiiBooster icon indicating copy to clipboard operation
YiiBooster copied to clipboard

Nested TbExtendedGridView with TbRelationalColumn how to

Open sanjarbek opened this issue 11 years ago • 2 comments

I need help guys. I have 3 related models, Research, ResearchType, Patient. Research has many ResearchType, Research has many Patient, ResearchType has many Patient. I show using TbExtendedGridView research name and patient count grouped by research. After clicking additional column (TbRelationalColumn) shows list of research types, researchType name and patient count grouped by research type using TbExtendedGridView. Second gridview also has additional TbRelationalColumn which must show third gridview on which I want to show patients list belonged to research type. I hope my explanation is understandable. After clicking on relationalcolumn of second gridview it do not show third gridview. No ajax query to controller. It just closes second gridview. I think something wrong with javascript, there is conflict between first and second gridview. Names of gridviews is different. I tried also rendering with and not with javascript second gridview, but the effect is the same. Help me guys to solve this problem.

sanjarbek avatar Jul 16 '13 06:07 sanjarbek

It's 9 months already, but in case this issue is still relevant, can you present us with the code you have so far? And the screenshot of the rendering result?

hijarian avatar Apr 23 '14 15:04 hijarian

Have you achieved this third gridview, if please update your code. Its most helpful for us

Silviaa avatar Dec 02 '14 07:12 Silviaa