dynamic looping column
Hi guys, i need ur help. I have some task and i need to show each task as column. currently i have showing the column, but when im using formatStateUsing the value/state is empty even i have just return string its still not showing anything just column name shown
13 Replies
I think, that you are in wrong context? How can you call $this->getRecord in table? It is dependant upon each row, not global ....
So no need for getRecord just call $record isntead of state. The problem is with columns with no value state is empty.
so
its managerelatedrecord, getRecord for get record from parent record
So it's more a dynamic column approach I see now.
You cannot make table width make dynamic based on maximal count of $tugas, that is excel way of duing things. If you now that max 3 items are in relationship why use one column and add it to it...
*why not
You can, but I see no point in doing so ....
the concept like, i have user and task which done or not, i want show all task of each user
Ok, why next to each other?
is it has alternative way?
It can be in one column line one per line
*like
idk, client needs😆
Or you can create resource just for tasks and add column user on the left of that
Well, the question is if client needs it, or wants it 😄
if user has like 100 taks, how will the table look?
wants it i mean, like virtual classroom system where the teacher can see whether all students have completed their work for a subject.
The teacher can easily determine whether the student will pass or not.
I still do not see that need. You can list all tasks for user in one column.