Markus Meissner

Results 76 comments of Markus Meissner

for some reason I have been under the impression this was working before, but just tried it and have to admit: no it doesn't! anyways this is not too trivial...

yeees, this can be painful and tedious. There is quite some time now a (yet) minimal set of `formatters`, which you can simply choose for your column to be applied....

at this point they don't, but there is clearly the plan to allow applying multiple formatters, easily there could be one who hides `undefined` if encountered... **edit:** and btw. not...

yeah, also had this idea. I have not yet seen this on an element within HA, did you maybe? A simple version might be easy to hack-in,but I have some...

mmmh, if the json data is as you say then I would maybe try: ``` modify: x.my_data[0].field_a ``` maybe with quotes: ``` modify: 'x.my_data[0].field_a' ``` because you have a map...

oh, then you could try: ``` modify: JSON.parse(x).my_data[0].field_a ```

oh, nope this will not work to expand the json parsed with `modify` into multiple rows, sorry

did you try setting `strict: true` ? the "undefined" stuff is kind of expected behavior, if you would like to filter them out, just take a look at `strict`: https://github.com/custom-cards/flex-table-card/blob/master/docs/example-cfg-sorting-strict.md

yes, this is clearly a limitation currently. But you might use `modify` to descent into the lists and select the next unique identifier, roughly like this: ``` columns: - name:...

well `modify:` is in fact java-script code, which means could do arbitrary complex stuff and reformat your data as you wish... something simple would be e.g.,: ``` modify: (x.isArray() &&...