How can I assigned unique id to the datatable cell? In my datatable cell is equivalent to a row (record) of database table and I want to assign primary id of the row the to cell, so that whenever the cell value changes, onAftereditStop event I want record this changed cell and later on want to update database table based on cell unique id.
Unfortunately it is not possible. Datatable operates with rows as base data units. Still you can use the onAfterEditStop event to catch necessary info - row and column id, that will identify the cell in question.
You don’t have to use id as your real ID. When you generate data for your datatable, add some property (lets call it yourpropertyID ) that will hold your id value and later on use onAfterEditStop event together with GetObject = getItem(id.row) where you can get whole data object. Then add your property GetObject.yourpropertyID and make ajax call sending this id and cell content.