NPellet / visualizer

Other
43 stars 24 forks source link

type renderer for array ? #976

Closed lpatiny closed 7 years ago

lpatiny commented 7 years ago

Would be nice to have a type renderer for array that does nothing (well the same as today)

But that allows an option 'length' that if present returns the length of the array

Currently we often need to create a code executor just to get the length of the array and display it in a display value module

targos commented 7 years ago

I think it makes more sense to add length to the jpath selection. Would that be enough for you ?

lpatiny commented 7 years ago

The advantage of type renderer (it does not slow down everything ...) is that it would allow to display the number of elements in a linked array directly in a slick grid which is actually something I would like to do.

targos commented 7 years ago

you can do the same with jpath (or I don't understand the request)