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
  • 5381 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

Community Manager
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

mca667911-VisitorAuthor
1-Visitor
May 15, 2019

Hi Sharon.

 

I am using ThingWorx 8.3.3 version, and yes its consistent on all browsers.

 

If you can try above mentioned steps , you will be able to reproduce.

 

When isEditable is Checked, then Row selection does not work in Tree Grid Advanced 4.2.0 version. Earlier with version 3.0.6 it was working fine, but with older version making any column in the grid as Editable like to use it as Input field, is not possible.

 

My requirement, I need to allow row selection (and then passing selected rows to a service + making Grid as editable because I need to perform some operation on editing cells).

 

If we can get this version 4.2.0 fixed to allow selection also (I want to pass SelectedRows to a service to perform some actions, but because Selection does not work when isEditable is checked, I am unable to achieve both operations.

 

Also, please let me know if we have some event or way to pass the Expanded row reference to a service. When we expand, it does not generate any Event, hence I am not able to pass reference of Expanded row also.

 

Quick help will be really appreciated.