This topic contains 3 replies, has 2 voices, and was last updated by attenzione 7 years, 9 months ago.
- Topic
Hello!
I’m new in ORO, I really like the way it is written, but something about datagrid.yml are really hard for me.
Currently I’m developing a few new features for the TaskBundle.What I’ve done:
1. I successfully extended the TaskBundle according to the docs, works fine
2. Created datagrid.yml in my new module and changed the sorting rules there, works fine
3. Tried to set default filtering for the dueTime column (orifinal datagrid name is tasks-grid). I have to show by default only tasks with dueDate no more then now + 1 hour. I was looking for solutions and tried both:
https://oroinc.com/orocrm/forums/topic/default-for-date-in-datagridfilter#post-4466
https://oroinc.com/orocrm/forums/topic/default-filter-for-datagrids-cant-be-cleared
Unfortunately nothing works for me. dueTime is a datetime field. So now my code is something like this (any other files may be considered as unchanged or unextended):1234567filters:columns:...default:dueDate:value:end: '{{1}} + 3600'And it doesn’t work. The docs don’t contain anything about it, but I really need it.
Thanks for your help in advance!
The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.