SignalR create record puts new row at bottom of grid - how do we make it go to the top?

2 posts, 0 answers
  1. Alex
    Alex avatar
    18 posts
    Member since:
    Aug 2015

    Posted 03 May 2016 Link to this post

    Users are creating a new record for a bound grid inside of a popup. Upon return, the new row is created via SignalR & the .create method but it's showing at the bottom of the grid. Is it possible to place the new record at the top of the grid (w/out changing sort)?

    For, refreshing the grid is a partial workaround (SO link below), but still does not place the row where we would like it.

    Thanks!

    http://stackoverflow.com/questions/29529318/how-to-use-signalr-datasource-with-kendo-grid

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2895 posts

    Posted 05 May 2016 Link to this post

    Hi Alex,

    Grid widget has a configuration option that allows the developer to specify if the newly created row should be inserted at the top or at the bottom. If the Grid data is sorted however, the sort order will take precedence. There is no build-in way to override this behaviour.

    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top