Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to Add Data on Top in ListGrid

    Hi,

    Can any one please help on this? When I use addData(), it adds data at tail, I want to add data on the top - Can anyone please point me to right direction?

    #2
    Originally posted by debasishbera
    Hi,

    Can any one please help on this? When I use addData(), it adds data at tail, I want to add data on the top - Can anyone please point me to right direction?
    do you have solution?

    Comment


      #3
      Originally posted by manu99
      do you have solution?
      I am also facing same issue can any body give any solution for this, I have a List grid that gets populated using cometd. So it basically a live grid with data scrolling by. Right now when I add a record, it gets added to the end. I want to be able to add the record to the top of the grid.
      Last edited by dilip_gupta; 2 Jun 2011, 22:30.

      Comment


        #4
        hi

        Add a field slno ,set the value for each row as 1,2,...
        set as hidden field.then use the method sort(slnoField,Sortdirection.descending)

        Please try it upon
        Last edited by vinuriyer; 8 Jun 2011, 20:00.

        Comment


          #5
          Thanks!! It works

          Comment

          Working...
          X