Published on 12/06/2019
Published by amit
Showing Serial No. in Search Screen
If you need to show the serial number in search screen you can do so using the following snippet.
1 2 3 4 5 6 |
[column new label='Sr. No.' cond='{form_data.submit_handler}' equal='datatable'] [calc raw] [module.set temp_calc='{module.dataset.pagesize}*({module.dataset.pageno}-1) + {env.@my_row.index}' /] [module.get temp_calc.math /] [/calc] [/column] |
Please remember this snippet will only work in the data table, and not in CSV download.