Advanced Grid : Row selection and Edit doesn't work simultaneously.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Advanced Grid : Row selection and Edit doesn't work simultaneously.
Hi @TanmeyTWX ,
I'm pretty new to thingworx, I came across this post while searching for the ptc-grid edit, previously by using the legacy grid widget it was pretty easy to use the grid, after upgrading to the new widget finding very much difficult to get the edit cell values(text, number, boolean or any type) I'm able to get only single row from the EditedData property of the ptc-grid.
If possible can you put your listings to know how you have achieved the edit options.
Thank You,
Balu
Solved! Go to Solution.
- Labels:
-
Mashup-Widget
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I came accross similar difficulty to have every single row, that I edited, to list to another Grid (just to check what was edited), but this is for the new Grid widget (in 9.3) which is themable,
- The issue I faced was that If I edited a cell in the main table, the row with the edited cell data was displayed in the other grid correctly (I bound the EditedData property to the other grid table data)
- However if I edited another cell data or row data, the "EditedData" in the other table was lost and only the new edits appears. (I wanted to have all of the data which was edited in my main table).
- After some testing, I can say the the solution is in the Main Table property, called "EditLevel".
- It has 3 values, "Entire Grid, Single Row, Single Cell". In the begining I thought that the "Single Cell" is what I'm looking for, because I wanted to edit only a single cell. However this caused the confusion.
- If you select either "Single Row" or "Single Cell" , only that specific row, or cell value will be the output of the "EditedData", and it will onl keep the on row or cell data and not keeping previously edited cells/rows.
- You should use "Entire Grid" to have all the modifications, on all rows or cells. This way the edited data will keep all of them, and you can save the edited data at once
- It has 3 values, "Entire Grid, Single Row, Single Cell". In the begining I thought that the "Single Cell" is what I'm looking for, because I wanted to edit only a single cell. However this caused the confusion.
Hope it helps a bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Enable the following in grid properties,
- isEditable --> true
- Change the EditLevel based on the you requirement (Entire Grid, Single Row, Single Cell)
- Go to Grid configuration (settings icon) --> select required column to edit --> Make Editable to true
- RowSelection --> Multiple
You able to see the check boxes in the grid and edit button also. For more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Balaji,
You can try this way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I came accross similar difficulty to have every single row, that I edited, to list to another Grid (just to check what was edited), but this is for the new Grid widget (in 9.3) which is themable,
- The issue I faced was that If I edited a cell in the main table, the row with the edited cell data was displayed in the other grid correctly (I bound the EditedData property to the other grid table data)
- However if I edited another cell data or row data, the "EditedData" in the other table was lost and only the new edits appears. (I wanted to have all of the data which was edited in my main table).
- After some testing, I can say the the solution is in the Main Table property, called "EditLevel".
- It has 3 values, "Entire Grid, Single Row, Single Cell". In the begining I thought that the "Single Cell" is what I'm looking for, because I wanted to edit only a single cell. However this caused the confusion.
- If you select either "Single Row" or "Single Cell" , only that specific row, or cell value will be the output of the "EditedData", and it will onl keep the on row or cell data and not keeping previously edited cells/rows.
- You should use "Entire Grid" to have all the modifications, on all rows or cells. This way the edited data will keep all of them, and you can save the edited data at once
- It has 3 values, "Entire Grid, Single Row, Single Cell". In the begining I thought that the "Single Cell" is what I'm looking for, because I wanted to edit only a single cell. However this caused the confusion.
Hope it helps a bit.
