Hi Tony,
Thank you, that explains how to get the data from edited row.
Hi Tony,
Thanks. I was able to retrieve the data from subgrid as well. However, there seems to be an issue upon edit where the cell value within the subgrid is being set to the html text (e.g getRowData gives me where it should have only given me 8
I noticed the same behaviour when
Hi Tony,
I am trying to edit data in subgrid (grid as subgrid). I am accessing the data using the name of the subgrid and the functions you mentioned. If the same functions are supported, i must be doing something wrong. Will try again.
Thank you,
Suresh
Tony,
Is the code same for sub grid as well. I am having trouble getting it out of a sub grid. It works for the parent grid though.
Thanks,
Suresh
Hi Tony,
Thanks for the code snippet. That was very helpful.
Now i am able to retrieve the required data.
/Suresh
Hi,
Thanks again for the prompt response.
1. I was thinking there is a temporary object which stores the data in the grid along with changed data. That would allow sorting without saving the data.
I will use your suggestion
Hi Tony,
Thank you for the response. Let me clarify below on my issues
1. I would like to sort my data. However if i edit my data in the cell, i would like to retain the new data in my grid. Clicking on the column heading refreshes the data back to the original data and then sorts the data causing loss of my changed data
2. Will try the methods. thanks
3. ok
4. The description of the array is not clear to me. An example will help. Is the array structure a name value pair like [row_id, field_name, value].
Thank you once again,
Suresh
Thanks tony.
I did a second pass in the translation to move the attribute values to elements. Good job at the grid plugin…its pretty cool.
I had a couple of issues with the css not showing the buttons and had to change the default table css definition.
Also, if i make the cells editable for the grid, and there exists a sub grid, double clicking it
Also, going with the same approach
Thanks tony.
I tried
{name:'cell1',index:'cell1.v', jsonmap:'cell1.v', width:55, key:true}
It still complains about the cell1.v
Is anything required under json reader. It currently reads as follows
jsonReader : {
Hi,
Even i am trying to use jsonmap to map a cell value to a arbitrary json structure and am having issues populating the grid with TS1, TS2 values below.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top