- Home
- Forum
- Angular - EJ 2
- Rendering Img dropdown on Grouping Data
Rendering Img dropdown on Grouping Data
I implemented a icon which on click triggers a dropdown, which works fine and as expected, the problem is that the space of the img is also rendering on the heder of the grouping (the icon is the lock img), and i only need it on the data content of the grouping:
How can i delete it for the group header? but nor for the rows of the inside of the groups
Heres my code:
Hi
Arturo,
We recommend using the display: none
style specifically for resource cells with the .e-parent-node
class. By using a precise CSS selector, you can apply styles exclusively to the
parent resource cell to hide the icons. Refer to the styles shared below to
achieve the desired result.
[app.component.html]
|
<ejs-schedule
#scheduleObj width='100%' cssClass='timeline-resource-grouping'
height='650px'> |
[app.component.css]
|
.timeline-resource-grouping.e-schedule .e-timeline-view .e-resource-cells.e-parent-node .e-icons.e-people { display: none; } |
Sample link: resource
header customization (forked) - StackBlitz
Don't hesitate to get in touch if you require further help or more
information.
Regards,
Vijay
i apply the scss change as you suggested but im still getting my icon added to the parent td
this is my full scss
Hi
Arturo,
In our previous suggestion, we mentioned using the icon class selector
associated with the resource cells' parent node to apply a display: none style,
for example ".e-icons.e-people"
effectively hiding the icon. Similarly, in your application, identify the icon
class being used and apply the same approach by using the specific icon class
name to hide it. This will ensure the desired icon is hidden.
Sample link: resource
header customization (forked) - StackBlitz
Additionally, If does not meet your requirements, please share the issue replicating sample or replicate the issue in our shared sample to help us better understand and address your query.
Don't hesitate to get in touch if you require further help or more
information.
Regards,
Vijay
- 3 Replies
- 2 Participants
- Marked answer
-
AM Arturo Martinez
- Dec 9, 2024 07:06 PM UTC
- Dec 12, 2024 06:13 AM UTC