You are here

Blogs

jsTree - document.registerElement is deprecated

Submitted by Asif Nowaj, Last Modified on 2019-11-08

If you are using jsTree library and found out that Chrome has started to warn about deprecating a feature used by jstree like below. Then you can find what you need to do to resolve this issue (warning).


document.registerElement is deprecated and will be removed in M73, around March 2019.
Please use window.customElements.define instead. 
See https://www.chromestatus.com/features/4642138092470272 for more details.

Example of simple jsTree with unique node name

Submitted by Asif Nowaj, Last Modified on 2019-11-08

jsTree is jquery plugin, that provides interactive trees. jsTree is easily extendable, themable and configurable. One of noticeable feature is its unique node name. This plugin enforces that no nodes with the same name can coexist as siblings. This plugin has no options, it just prevents renaming and moving nodes to a parent, which already contains a node with the same name.

Example of simple jsTree with conditional select

Submitted by Asif Nowaj, Last Modified on 2019-11-08

jsTree is jquery plugin, that provides interactive trees. jsTree is easily extendable, themable and configurable. One of noticeable feature is its tri-state checkbox. This plugin overrides the activate_node function (the one that gets called when a user tries to select a node) and enables preventing the function invocation by using a callback.

Example of simple jsTree with tri-state checkbox

Submitted by Asif Nowaj, Last Modified on 2019-11-08

jsTree is jquery plugin, that provides interactive trees. jsTree is easily extendable, themable and configurable. One of noticeable feature is its tri-state checkbox. States are checked, unchecked and indeterminate.
Indeterminate state is when not all child items are checked then the check state of the parent becomes indeterminate.

Like below, the state of "Root node 2" is Indeterminate as not all child nodes are checked.

Polymorphic Species

Submitted by Mousumi Sepai, Last Modified on 2019-11-08

Polymorphic species are referred to those species which have different forms arise from the same genotype. This term is called Polymorphism. In biology, Polymorphism helps to notice the discontinue genetic variation which resulted in the happening of various different forms or types in individuals among the members of a single species. Polymorphism helps to make the difference of two or more clearly different morphs or forms and also referred to as alternative phenotypes, in the population of a species.

Upgrade EntiryFramework 5.0.0 to 6.2.0 changes

Submitted by Asif Nowaj, Last Modified on 2019-11-08

If you are migrating your application where Entity Framework 5.0.0 (EF 5) is used, to latest .NET framework 4.8 from 4.6 range, then after upgrading your .NET framework, you will be advised to upgrade Entity Framework as well.

Once I upgraded Entity Framework to 6.2.0 (EF 6), we have encountered with some compilation issue. like below:

Operator '==' cannot be applied to operands of type 'EntityState' and 'EntityState'

Do not worry, this is not a huge change.

Pages