Automatically adjust column widths

                              on:{
                                onDataRequest:function(id){
                                    var post = {};
                                    post.id = id;
                                    var _this = this;
                                    webix.ajax().post(now_url,post).then(function (data) {
                                        webix.message("a")
                                        _this.parse(
                                            data.json()
                                        );
                                        _this.adjustColumn('username');
                                    })
                                    return false;
                                },

http://storage.googleapis.com/bm888/img.png
Click on the node to automatically adjust the width of the error

Can you provide the exact text of error message ?

Or do you mean that value just not adjusted correctly ?

http://storage.googleapis.com/bm888/tree.mov
I recorded a video, check out my video.
Here is my json data:
http://storage.googleapis.com/bm888/test.html
code:
http://storage.googleapis.com/bm888/self.js

Sorry, but I still don’t see what is the problem
The width of username colum looks valid. It adjust self after expanding first level item. On expanding second level item nothing occurs, as no new data loaded.

User Name column is hidden. In fact there are characters.
Automatically adjust column widths can not be completely

Do you mean empty user-names at the bottom of datatable ?

Try the next two things

  • remove fillspace from this column ( you are using adjust on it anyway )
  • if it doesn’t help try to add css style like next .webix_cell{ white-space:nowrap;}

By they way it seems that the same data does work in my samples

http://webix.com/snippet/b9f02180