[8.0.0] Grouping Data Together and Adding Classes

Tags: #<Tag:0x00007fa98e3eef38>

Hello,

I am trying to add custom classes to certain rows and group them together based on the value in column in “Job Number”

If multiple rows have a “Job Number” equal to each other, than all rows with that job number are grouped together. I have made a static mock up of the data being “grouped” together (but just by making a static JSON structure).

Here are some screenshots of the data…https://imgur.com/a/0HmCwTu

I would like to add a custom class to add to them as well like “job_group” so that I can add padding or an additional blank row between each job group.

Is something like this possible?

Actually, I think nested rows will accomplish most of what I want. Can you style nested rows based on classes that are assigned to them?

Also, nested rows is listed in experimental features? Is this going to become an official feature soon? I’m concerned if I build a system that uses this (and buy a license) that the feature could be taken away in the future. It is a pretty critical feature that I need.

I’ve got the nestedRows feature working mostly…but it renders weird…

Before…https://imgur.com/3RRyqhd

After clicking the +…https://imgur.com/lRE6mbq

Any idea why it is rendering like this?

Hi @jbishop

here’s a demo for parent styling http://jsfiddle.net/0x98ensb/

Also, nested rows is listed in experimental features? Is this going to become an official feature soon?

It is experimental as it does not support some other features like sorting. Now, when you sort a column the children will change their parents. Nevertheless, in version 8.0.0 (next one) all the indexing issues that relate to this plugin should be fixed.

I recommend checking the following example with those resources

https://cdn.jsdelivr.net/gh/handsontable/handsontable@release/8.0.0-beta.1/dist/handsontable.full.css https://cdn.jsdelivr.net/gh/handsontable/handsontable@release/8.0.0-beta.1/dist/handsontable.full.js

It’s the beta version of the next version we’ll publish. It fixed more than 130 issues

Awesome…any idea when V8 will be released?

If all goes well in April. I will keep you updated.