I want jQuery datatables to automatically create row number column in the first column like datagrid in VB.
It looks like this:

Anyone knows how to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You just define an empty column in aoColumns.
Then in fnRowCallback function you just edit the column how you like. This callback is run every time new row is created.
Basicly if your first column has the row number, you could just do this in fnRowCallback: