⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Sequence Number after sorting data



coffeeDrunker6

coffeeDrunker6
  • profile picture
  • Member

Posted 26 May 2017 - 05:20 AM

Hi guys,

I followed the instruction and i did changes all the requirement to create rows number at assets/grocery_crud/themes/datatables/views/list.php. And i got my row number.

/topic/625-create-a-sequence-number-in-a-table/

 

 

my default data order from database is by date. but when i'm sorting the data based on for example person name, the sequence of the row number is not order (for example: 3, 116, 54, 32, etc).

 

That i want to do is, when i'm sorting the data, the row number still in sequence number in (1,2,3,4 etc).

Is it possible to do that?

 

Sorry if my English bad.

Thanks a lot.