Skip to main content
1-Visitor
May 14, 2019
Solved

Tree Grid Advanced 4.2.0 Row Selection does not work when isEditable property is Checked

  • May 14, 2019
  • 1 reply
  • 5401 views

Tree Grid Advanced 4.2.0 Row Selection does not work when isEditable property is Checked.

 

Steps to reproduce:

- Add Tree Grid Advanced widget (4.2.0) on your mashup

- Bind any data to it ( to be shown as in Tree structure)

- Check "isEditable" property in Widget's property window

- Now bind SelectedRows to any service

- Set property "RowSelection" to single/multiple 

 

Now, when you view your mashup, when data is displayed in Tree format. You can't select any row that means your SelectedRows and SelectedRowChanged are of no use.

 

And when isEditable property is unchecked, it allows you to select any row in the Grid.

 

This is working fine with Tree Grid Advanced 3.0.6, but not with 4.2.0.

 

Best answer by slangley

Hi @mca66791.

 

R&D advised this functionality is working as designed.

 

To explain.....isEditable is essentially the same as having EnableEditButtons checked and in edit mode. With isEditable enabled, this becomes a grid in "edit" mode,  so the whole row selection never happens.  On a side note, if you enable isEditable, the RowSelection property in design time would be hidden (since it's not applicable).

 

We're sorry that this is not the answer your wanted.

 

If you feel that your question has now been answered, please mark this response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

1 reply

Support
May 14, 2019

Hi @mca66791.

 

Which version of ThingWorx are you running?  Have you tested on other browsers to determine if the behavior is consistent?

 

Regards.

 

--Sharon

Support
May 16, 2019

Hi @mca66791.

 

We're not recreating the issue you described.  Can you please either provide your mashup with some sample data or use the sample data that comes with the 4.2.0 extension for recreating the issue and provide that?

 

For your last question regarding generating an event when expanding a row, can you please confirm this is your intention?  Perhaps more explanation around your use case would help us understand.

 

Regards.

 

--Sharon

mca667911-VisitorAuthor
1-Visitor
May 20, 2019

Hi @slangley ,

To add more on this,

 

when isEditable property is checked, then row selection does not work. But when either isEditable is Unchecked or EnableEditButtons is checked, then row selection works fine.