tables are stamped at rendering which means that you have to refresh the table to show a change in the individual row cell value. Upon table rendering you can then show/hide comments or part of. In your code sample, the setting of More or Less text doesn't take the table row into consideration so that your code actually would need to check whether the rendering table row is the current row, and if it is show more or lesser information
Actually for me only selected row values are changing but whenever i scroll the tbale to up or down remianing rows will be fetched right? at that time what are the changes done to my curren row are applied to those newly fetched rows. Please give me solution for this.