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

dataFormat with div no longer allows for selection #994

Closed
wgorman opened this issue Jan 26, 2017 · 5 comments
Closed

dataFormat with div no longer allows for selection #994

wgorman opened this issue Jan 26, 2017 · 5 comments

Comments

@wgorman
Copy link

wgorman commented Jan 26, 2017

In version 2.9.2, due to the following change:

eff49cf

my dataFormat which includes a div no longer generates select row events.

My dataFormat looks something like this:

var nameFormat = function(cell, row) {
      return (
        <div>
          <div>{cell}</div>
          <div>{row.addlText}</div>
        </div>);
    };

Thanks!

Will

@AllenFang
Copy link
Owner

@wgorman, ok, I'll check this out. thanks your feedback 👍

@AllenFang
Copy link
Owner

BTW, could you please show me the configuration for selectRow and did you enable cedd editing?

@wgorman
Copy link
Author

wgorman commented Jan 26, 2017

Here is my selectRow config. I'm not using cell editing for this table. Note that this works fine in version 2.9.1.

{
      mode: "radio",
      clickToSelect: true,
      bgColor: "#EAF3FF",
      onSelect: rowSelect,
      hideSelectColumn: true,
      selected: this.getSelectedKeys()
    }

@AllenFang
Copy link
Owner

@wgorman, thanks 👍 I'll fix it as soon as possible

@AllenFang
Copy link
Owner

Fixed on v2.11.0, check it out and let me know if the problem still remain.

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

No branches or pull requests

2 participants