UiGrid radio button rows and columns

This is a bit of a general question about ui grid capabilities. So far I've had huge success with ui networking. Now I have a use case where I want to toggle the rows and columns of a grid.

Basically, I would like the headers to appear "vertically" in the first column and for the rows to become columns.

Is this possible with ui grid?

+3


source to share


1 answer


As far as I know, UI Grid doesn't support this. I doubt you can do this. You can try building columns and data dynamically and passing it to gridOptions. Or add an extra column and it should be the first column where you will pass all the header values. Change the background of the cells to look like the header cells. Now add a second column where you will pass all the values โ€‹โ€‹of the first row. Hide the original title bar completely. now you have the required grid ........ :)



0


source







All Articles