Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
One Record At a time
posted

Hi,

I was trying to do something similar to Datagridview in .net where we can display one record (details) at a time and using scroll or navigation let the user go to next record.

 

Thanks

 

Manoj

Parents
No Data
Reply
  • 2070
    posted

    Hi Manoj,

     

    See card-view functionality. Basically you should be able to display one record at a time by setting the grid.DisplayLayout.Bands[0].CardView to true and setting MaxCardAreaCols and MaxCardAreaRows properties off the CardSettings to 1. This along with row-layout functionality you can basically display each record as sort of like a form with complex arrangements of columns.

     You can also hide the scrollbar in case you want to expose external ui (like next/prev buttons) for navigating rows. For that you would set the Cardscrollbars on the CardSettings and as for the actual navigation to move to next/prev record, you would use set the Rows.FirstVisibleCardRow to next/prev row.

     

    Hope this helps,

    Sandip 

Children