• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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 13 Feb 2020, 09:43

    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 14 Feb 2020, 11:33

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

      1 Reply Last reply Reply Quote 0
      • R
        RK REZA last edited by 15 Feb 2020, 09:43

        @Jyoti Details please

        1 Reply Last reply Reply Quote 0
        • R
          rahul last edited by 17 Feb 2020, 07:35

          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
          2 out of 4
          • First post
            2/4
            Last post