static EntityListView CreateListViewForGroup(ComponentGroup group)
        {
            var state        = new TreeViewState();
            var headerStates = new List <MultiColumnHeaderState>();
            var headerState  = EntityListView.GetOrBuildHeaderState(ref headerStates, group, 100f);
            var header       = new MultiColumnHeader(headerState);
            var listView     = new EntityListView(state, header, group);

            return(listView);
        }
        void InitEntityList()
        {
            if (currentComponentGroupSelection == null)
            {
                return;
            }
            entityListState = new TreeViewState();
            var headerState = EntityListView.GetOrBuildHeaderState(ref entityColumnHeaderStates, currentComponentGroupSelection, position.width - GUI.skin.verticalScrollbar.fixedWidth);
            var header      = new MultiColumnHeader(headerState);

            entityListView = new EntityListView(entityListState, header, currentComponentGroupSelection);
        }