Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editable and not editable cells #4

Open
4edorov opened this issue Jan 20, 2018 · 3 comments
Open

Editable and not editable cells #4

4edorov opened this issue Jan 20, 2018 · 3 comments
Assignees

Comments

@4edorov
Copy link
Collaborator

4edorov commented Jan 20, 2018

No description provided.

@4edorov 4edorov self-assigned this Jan 20, 2018
@4edorov
Copy link
Collaborator Author

4edorov commented Jan 20, 2018

@lunochkin
do we need to use an additional property for 'disabled' attribute?
e.g.

const createFakeRowObjectData = index => {
  return {
    id: 'id_' + index,
    avartar: faker.image.avatar(),
    county: {
       value: faker.address.county(),
       isAcitve: true
...

and then we can use it:

<input
   ...
        onClick={onClick}
        disabled={isActive}
/>

@lunochkin
Copy link
Owner

I've added editable property yesterday, so it's already done

@lunochkin
Copy link
Owner

I think we don't need disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants