Declined
Last Updated: 22 Jun 2020 15:57 by ADMIN
Will
Created on: 15 Jun 2020 14:54
Category: Kendo UI for jQuery
Type: Feature Request
0
MVVM control of Visibility of HTML objects: use "Visible" instead of (or in addition too) "Invisible"

Hi, 

Every widget that supports control of visibility configuration uses "VISIBLE", but when using MVVM to control HTML objects it is: data-bind = "invisible: someThing" .  This IMHO is inconsistent, counterintuitive, and adds complication.  If you are controlling the visibility of a mix of Kendo and HTML objects on the same bit of data, you need to duplicate it with a negated version or resort needlessly to templating logic.  Maybe I'm missing something but this seems like a no-brainer.

Thanks,

Will Dougherty 

3 comments
ADMIN
Martin
Posted on: 22 Jun 2020 15:57

Hello Will,

There is no need for further action from your side, I will simply change the status of the feature request to "Declined" in case other members have a similar question.

Feel free to get back to us whenever you have questions.

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Will
Posted on: 22 Jun 2020 13:08

Hi Martin,

You're correct.  I was going on out-of-date / erroneous information.

How do I remove this suggestion?

Thanks for straightening me out.

 Will 

ADMIN
Martin
Posted on: 22 Jun 2020 11:55

Hello Will,

For the components that have a "visible" configuration, you will find that both data-bind:visible and data-bind:invisible are acceptable approaches in MVVM. Here is a little example for reference. Do you have an example in which data-bind:visible does not work as expected? If so, please provide an example so that we can investigate. 

Looking forward to your reply.

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.