Articles in this section
Category / Section

How to Add Serial Numbers to a Grid Widget with an SQL Server Data Connection

Published:

This article will guide you through adding serial numbers to a grid widget with an SQL Server data connection.

It is important to note that the solution presented in this article is specifically created for the SQL Server data connection.

Steps to Incorporate Serial Numbers into a Grid Widget
  1. Create the following expression in the expression designer to generate the serial numbers and Configure the created expression in the grid widget.
    Expression syntax : CAST(ROW_NUMBER() OVER(ORDER BY (SELECT SUM(1))) as varchar)
    image.png
  2. On the context menu of the setting icon, select Sort.
    rte_image_613.png
  3. Select the Data Source order in the advanced sorting options to sort the specific column based on the data source order.
    image.png
  4. The specific column sorting will be updated, as shown in the following image.
    rte_image_615.png
Related Links:
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
NM
Written by Nihal Mohamed Ali
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied