These tutorials show how to identify rows on server when uploading changes or using server ChildPaging.
On server side is row identified by its id (both letters small) attribute.
This attribute must contain enough information to unique identify the row.
These tutorials show possibilities how to generate this attribute for various needs.
All these tutorials show in the first left column "Gen id" generated id attribute. The "Tmp" column has no effect to ids.
You can add row(s) to see how new id will be generated.
Also you can change column values if id is generated from editable columns to see if and how is id changed to be still unique.
And you can simulate saving updates to server to see how the id is updated after successful upload.
Remember, id attribute value is case sensitive.
Every example can be used on single page with this structure:
<html>
<head>
<script src="../Grid/GridE.js"> </script>
</head>
<body>
<div style="width:100%;height:100%;">
<treegrid Data_Url="IdX ... .xml" Upload_Data="<Grid></Grid>"> </treegrid>
</div>
</body>
</html>
If you modify in input data some attributes saved to cookies, increase <Cfg> attribute Version to suppress old configuration.
|