Forum Post: Re: How To Put Row Number In A Column To The Grid Conrol

  • Thread starter Thread starter jsniemi79
  • Start date Start date
Status
Not open for further replies.
J

jsniemi79

Guest
Add a field to the object in your grid for your row number. Then on the new and edit pages, add the following function in a script component. On the create and update events in the grid control, call the function and pass in the placeholders for the current grid and row number. Lastly, you may want to add this code to the onload of the edit page if you expect the values in the grid to be resorted from the original order. This will fire the update event on all rows and update the row numbers appropriately based on current sorting. $("[name*='Row_Number']").change(); I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top