[REACT] Any way to add a custom column into Resources Tab
Posted: Wed Mar 29, 2023 5:44 pm
by isadogan
Hi,
I want to add a custom column to the resources tab which has a dropdown like the resource column. Then send it to the backend with the other resource & units.
Any way to do this?
Thanks
Re: [REACT] Any way to add a custom column into Resources Tab
Posted: Thu Mar 30, 2023 7:43 am
by tasnim
Hi,
What type of column do you want to add (what field)?
Re: [REACT] Any way to add a custom column into Resources Tab
Re: [REACT] Any way to add a custom column into Resources Tab
Posted: Thu Mar 30, 2023 10:21 am
by Animal
All looks good. That should work. What exactly is not working?
Re: [REACT] Any way to add a custom column into Resources Tab
Posted: Thu Mar 30, 2023 11:40 am
by isadogan
1) I selected the "level". But I can't see the selected value in the "Level" column like other "Frontend Developer", "100%"
2) When I click the "Save" button, nothing happens. Not call sync action.
Re: [REACT] Any way to add a custom column into Resources Tab
Posted: Thu Mar 30, 2023 5:01 pm
by tasnim
Hi,
Could you please upload a test case so we can run, reproduce and debug the issue?
Re: [REACT] Any way to add a custom column into Resources Tab
Posted: Thu Mar 30, 2023 11:27 pm
by isadogan
Hi Tasnim,
I found the problem. I should have add "resourceLevelId" to "AssignmentModel", not "ResourcesModel"
I hope that this one is will be the last question which is how to add store data dynamically in runtime.
First I define combobox's store data as empty array. I make an api call to get ResourceLevels, when I receive the data, I want to set it into combobox store data.