Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to set incremental number instead of table's primary id in DataGrid?

    Knowledge Base
    3
    4
    310
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RK REZA last edited by

      I want to show incremental id like: 1,2,3,4,5... instead of table's peimary id in DataGrid.

      1 Reply Last reply Reply Quote 0
      • J
        Jyoti last edited by

        @RK-REZA
        For this you have to override your data grid.

        1 Reply Last reply Reply Quote 0
        • R
          RK REZA last edited by

          @Jyoti Details please

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by

            Hello @RK-REZA

            Override index file of that view, create a separate data grid in your package, use incremental number in that data grid instead of table's primary id and call this data grid to your override view file.

            Thanks

            1 Reply Last reply Reply Quote 0
            • First post
              Last post