How to adjust the height of two adjacent multiline columns?

Hi ,

My datatable has two multi-line columns adjacent to each other,namely, place and contacts.

Because of variable number of elements in the cells they are not adjusting after the load hence some values are not visible.

I have tried to adjust both the columns as below but no help:

this.adjustRowHeight("id2",true);
this.adjustRowHeight("id3",true);

Snippet : https://snippet.webix.com/r3ty5poj

Kindly help.

Thanks.

Comments

  • Hello,
    To adjust the columns height you just need to remove id

    on:{
        onAfterLoad:function() {
          webix.delay(function() {
            this.adjustRowHeight();
            this.render();
          }, this);
        },
        onAfterEditStop:function(){
          this.adjustRowHeight();
        }
      }
    

    There adjustRowHeight() adjusts height of each row to the highest cell in it.
    Example: https://snippet.webix.com/2fyqnp6l

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion