Under Review
Last Updated: 16 Oct 2023 07:53 by ADMIN
Grant
Created on: 02 Oct 2023 12:32
Category: KendoReact
Type: Bug Report
0
SchedulerResource is does not map 'textField' attribute

Hi team, 

Im my example (see here), I've added a 'name' attribute to the 'Persons' resource data, and changed the textField mapping to use the 'name' field, however the scheduler is still displaying the results of the 'text' attribute. 

Leading me to think that the scheduler is hardcoded to only look for the text attribute, because if its changed/removed, the scheudler does not display anything, regardless of what the 'textField' value is.

Please advise.

Thanks,
Grant

4 comments
ADMIN
Konstantin Dikov
Posted on: 16 Oct 2023 07:53

Hello Grant,

I have logged the bug in our public repository where you can follow its progress:

As for the feature request for the events without resource, the team will monitor the interest in this and will consider adding such option.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Grant
Posted on: 09 Oct 2023 10:03

Thanks Konstantin, I appreciate the quick feedback. Im glad I was able to help.

Regarding how to display items that dont match a resource, perhaps a row/column at the end that "Doesnt Match resource"? I understand the items cannot be filtered out, dev must do that, but if it can be highlighted that there are resources missing from the events, that could be helpful.

Keep well, G

ADMIN
Konstantin Dikov
Posted on: 09 Oct 2023 09:31

Hello Grant,

Regarding the textField, it seems that with "vertical" orientation the property is indeed ignored and it expects "text" field. I was initially testing one of our examples with "horizontal" orientation and the textField was working as expected:

Nevertheless, it seems that there is indeed a bug with the vertical orientation, so thank you for reporting it.

As for the removed resource, I have to say that the Scheduler will still display all events available within the data, but if the available resources have explicit color, you should be able to distinguish them (even though they will be placed within the existing resource):

I agree that this is not very intuitive, but I am not sure what should be the expected behavior when there are event without a resource. If you have some idea about the expected behavior you can share it here.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Grant
Posted on: 02 Oct 2023 12:51
I also noticed (separetly from this issue) that if you comment out one of the resources, the scheduler just dumps them with one of the others, is that correct?