This is a migrated thread and some comments may be shown as answers.

kendo react treelist locking on cell not working well :(

6 Answers 176 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jesil
Top achievements
Rank 2
Jesil asked on 26 Feb 2020, 07:09 AM

 

I'm trying to locking cell in the tree-list , Ii cant lock that think perfectly, some space is still in there between cells.how can I solve that issue.

6 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 26 Feb 2020, 07:56 AM

Hello, Jesil,

Is it possible to showcase a screenshot of the issue?

This will help us better understand which is the extra space added to the cell and work on that to fix it.

Thank you in advance for the cooperation on this.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jesil
Top achievements
Rank 2
answered on 26 Feb 2020, 09:47 AM

code below:

https://stackblitz.com/edit/react-treelocking?file=index.js

 

0
Jesil
Top achievements
Rank 2
answered on 26 Feb 2020, 09:50 AM
Red color means, that are in locked. now you can see form the picture there is a little bit space in between those cells.    
0
Stefan
Telerik team
answered on 26 Feb 2020, 02:48 PM

Hello,

Thank you for your example.

I have a couple of suggestions based on it:

1) Please pass the required className and styles to the custom cells. They are part of the props:

const DemoCell = (props) => <Demo {...props} />;

class Demo extends Component {
  render() {
    return (
      <td
        className={this.props.className}
        style={this.props.style}
      >demo</td>
    );
  }
}
2) The width of the table has to be equal to the combined width of the columns. We agree that this is missing from the documentation and we will add it to the article.

This is the updated example:

https://stackblitz.com/edit/react-treelocking-hsqvrk?file=index.js

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jesil
Top achievements
Rank 2
answered on 28 Feb 2020, 10:00 AM

https://stackblitz.com/edit/react-treelocking?file=index.js

 

hi Stefan :(

while adding filter along with locking cell, filterable area is not locking as expected.   

0
Stefan
Telerik team
answered on 02 Mar 2020, 01:47 PM

Hello, Jesil,

Thank you for reporting this.

I can confirm that this is an issue with the current version of KendoReact TreeList.

I created an issue in our GitHub repository and forwarded it to our developers for fixing. You can track its progress at:

https://github.com/telerik/kendo-react/issues/501

For now, there is no available workaround, if one is found it will be added in the GitHub issue for reference.

Additionally, I updated your Telerik points for bringing this to our attention.

 

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Jesil
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Jesil
Top achievements
Rank 2
Share this question
or