xviz icon indicating copy to clipboard operation
xviz copied to clipboard

Add single_row method

Open ElenaStrashko opened this issue 3 years ago • 1 comments

Add this method, because it's a convenient way to create treetables with a lot of rows using Python. Like this:

            .treetable([
                    {'display_text': 'name', 'type': 0, 'unit': 'this is a name'},
                    {'display_text': 'value', 'type': 0, 'unit': 'This is value'}, ])\
            .single_row(0, [[1, 2], [3, 43]])\
            .single_row(1, [[1, 2], [3, 43]]) ```

ElenaStrashko avatar May 21 '21 10:05 ElenaStrashko

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 21 '21 10:05 CLAassistant