M
|
max benelli 12/16/2024 |
+1 |
D
|
DRCR Dev author 12/16/2024 |
I had worked 19 hours when I wrote that. Lets rephrase: Every list page counts the rows eg: Displaying 1 - 40 of 359445
|
C
|
cristi 12/16/2024 |
In the golden words of Sergey Kornilov: The purpose of GetRowCount event is to perform your own row count calculation. If you need to perform some complicated filtering, GetRowCount is the placed where you calculated the current number of records and return it. Since number of records variable appears in Visual Editor as "records_found" you can use the following BeforeDisplay event: echo $xt->getvar("records_found"); Why are you even consider using it? var records = pageObj.getAllRecords(); //fetch all records displayed on page |
![]() |
Sergey Kornilov 12/16/2024 |
I just want to chime in to explain what Deprecated means. It basically means do not use as it may stop working after some new update. For instance, in version 11 we are retiring some old deprecated APIs like DAL. As the manual suggests, a better way to handle this situation is to use SQL View where you are in a full control of all SQL queries you need to run. |