{"action":"opened","issue":{"url":"https://api.github.com/repos/aslagle/reactive-table/issues/273","labels_url":"https://api.github.com/repos/aslagle/reactive-table/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/aslagle/reactive-table/issues/273/comments","events_url":"https://api.github.com/repos/aslagle/reactive-table/issues/273/events","html_url":"https://github.com/aslagle/reactive-table/issues/273","id":99877756,"number":273,"title":"Auto-number table rows","user":{"login":"samurai-jack","id":1266315,"avatar_url":"https://avatars.githubusercontent.com/u/1266315?v=3","gravatar_id":"","url":"https://api.github.com/users/samurai-jack","html_url":"https://github.com/samurai-jack","followers_url":"https://api.github.com/users/samurai-jack/followers","following_url":"https://api.github.com/users/samurai-jack/following{/other_user}","gists_url":"https://api.github.com/users/samurai-jack/gists{/gist_id}","starred_url":"https://api.github.com/users/samurai-jack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samurai-jack/subscriptions","organizations_url":"https://api.github.com/users/samurai-jack/orgs","repos_url":"https://api.github.com/users/samurai-jack/repos","events_url":"https://api.github.com/users/samurai-jack/events{/privacy}","received_events_url":"https://api.github.com/users/samurai-jack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-09T09:03:36Z","updated_at":"2015-08-09T09:03:36Z","closed_at":null,"body":"I made data collection witch is presented by package \"aslagle:reactive-table\".\r\nlet me know if there is possibility each record take automatic numeration like this :\r\nhttp://jsfiddle.net/Paulpro/4WHpr/1/4\r\n\r\nand that the continuity of numbering was preserved despite the removal of one of the records in table.\r\n\r\n```javascript\r\n  settings: function () {\r\n      return {\r\n          collection: MrkPorady,\r\n          rowsPerPage: 5,\r\n          showFilter: true,\r\n          fields: [\r\n              // This key 'mrkPoradaLp' displays form collection \"MrkPorady\" numbering introduced manually.\r\n            // I would like to numbering was generated automatically. How to change it\r\n              { key: 'mrkPoradaLp', label: 'Lp.', sortOrder: 0, sortDirection: 'descending'},\r\n              { key: 'mrkPoradaData', label: 'Data'},\r\n              { key: 'mrkPoradaNazwiskoKon', label: 'Nazwisko Konsumenta' },\r\n              { key: 'mrkPoradaNazwaPrzed', label: 'Nazwa Przedsiębiorstwa' },\r\n              { key: 'mrkPoradaHasloPrzedmiotowe', label: 'Hasło przedmiotowe' },\r\n              { key: 'mrkPoradaRodzajPorady', label: 'Rodzaj Porady' },\r\n              { key: 'mrkPoradaSposobUdzieleniaPorady', label: 'Sposób Udzielenia Porady' },\r\n              {key: 'usun', label: '', tmpl: Template.mrkUsunPorade},\r\n              {key: 'edytuj', label: '', tmpl: Template.mrkButtonEdytujPorade},\r\n              {key: 'rozwin', label: '', tmpl: Template.mrkButtonRozwinPorade},\r\n              {key: 'wiecej', label: '', tmpl: Template._wiecejWidokPorad}\r\n          ]\r\n      };\r\n  }\r\n```\r\n"}}