Page 1 of 1

[ANGULAR] Want to disable row like the weekend column

Posted: Fri Jul 29, 2022 3:53 pm
by skullgaming

Hi Bryntum Team!
My requirement is to disable a specific row. In which

  • We can't select the row.

  • We can't add/edit any event from UI in this row.

  • We can't drop event to this row like weekend columns eg:- When I try to dropped any event to this row, it should be back to it's previous position.

  • We also can't able to right click on this row.

  • It should not be clickable eg:- I changed the row color using a custom class, but when i clicked on this row, its changed its color to white. That's why it should not be clickable.

Can you help me out of this to achieve my requirements
Thanks!!


Re: [ANGULAR] Want to disable row like the weekend column

Posted: Fri Jul 29, 2022 9:28 pm
by mats

Should be quite easy yes.

We can't select the row.

We also can't able to right click on this row.

It should not be clickable eg:- I changed the row color using a custom class, but when i clicked on this row, its changed its color to white. That's why it should not be clickable.

You could try adding a custom CSS class to your row elements and setting

pointer-events:none;

Docs: https://bryntum.com/docs/scheduler/api/Grid/column/Column#config-renderer

We can't add/edit any event from UI in this row.

We can't drop event to this row like weekend columns eg:- When I try to dropped any event to this row, it should be back to it's previous position.

This could be solved by marking the record https://bryntum.com/docs/scheduler/api/Core/data/Model#field-readOnly


Re: [ANGULAR] Want to disable row like the weekend column

Posted: Mon Aug 01, 2022 12:16 pm
by skullgaming

Thanks Mats.
I turned resource record row read-only to true, But still I am able to drop event to the read-only row.
Is that bug?
https://drive.google.com/file/d/1GiN2k4nU7joBmeTlyRtmugq0_xnW747r/view?usp=sharing


Re: [ANGULAR] Want to disable row like the weekend column

Posted: Mon Aug 01, 2022 3:25 pm
by marcio

Hey skullgaming,

It's a bug indeed. I created a ticket to fix it https://github.com/bryntum/support/issues/4995

Thanks for the report


Re: [ANGULAR] Want to disable row like the weekend column

Posted: Thu Aug 18, 2022 10:07 am
by skullgaming

Hi Team!
Can you tell me when it is fixed?


Re: [ANGULAR] Want to disable row like the weekend column

Posted: Thu Aug 18, 2022 12:57 pm
by tasnim

Unfortunately, it's not on the list of closest releases. If you need this urgently, you could contact our sales for a feature sponsorship here https://www.bryntum.com/services/ to increase the ticket's priority

Good Luck :),
Tasnim