reset line number in middle of a group

Stimulsoft Reports.JS discussion
Post Reply
delix0731
Posts: 6
Joined: Thu Sep 05, 2019 8:34 am

reset line number in middle of a group

Post by delix0731 »

I attached my files, check it please.
the issue is, I'm using system variables, "line through" so, all records are have line numbers organized.
But, I want to reset the line number after new page.
For example,
this moment, it shows like below.
1page
group01_1.a
group01_2.b
group01_3.c
group01_4.d
group01_5.e
2page
group01_6.f
group01_7.g
group01_8.h
group01_9.i
group01_10.j

what I want is
1page
group01_1.a
group01_2.b
group01_3.c
group01_4.d
group01_5.e
2page
group01_1.f
group01_2.g
group01_3.h
group01_4.i
group01_5.j

so, as you can see, lines of 1page and 2page are in a same group.
they must reset the line number as 1 when the page is changed.
my StimulReport is JS(javascript) version.
the solution with C# code is not working very well.
So, I hope you can give me various way to solve this issue.
Thank you.
Attachments
MYSQL_exteriors02.mrt
(6.58 MiB) Downloaded 123 times
MYSQL_exteriors.json
(34.55 KiB) Downloaded 108 times
Lech Kulikowski
Posts: 6265
Joined: Tue Mar 20, 2018 5:34 am

Re: reset line number in middle of a group

Post by Lech Kulikowski »

Hello,

Could you explain your issue in more details? Which result do you need in your report?

Thank you.
delix0731
Posts: 6
Joined: Thu Sep 05, 2019 8:34 am

Re: reset line number in middle of a group

Post by delix0731 »

Lech Kulikowski wrote: Sat Sep 07, 2019 11:17 am Hello,

Could you explain your issue in more details? Which result do you need in your report?

Thank you.
I want to reset line number at middle of the same group.
----!! the line number should be reset per page.!!-----
Check the attached files please.
they started by no.1 only once.
for example, 2page is started by 25. 3page is 49.
I want them started by 1. but they are in the same group.
Attachments
MYSQL_exteriors02.mrt
(6.58 MiB) Downloaded 135 times
MYSQL_exteriors.json
(58.14 KiB) Downloaded 113 times
Lech Kulikowski
Posts: 6265
Joined: Tue Mar 20, 2018 5:34 am

Re: reset line number in middle of a group

Post by Lech Kulikowski »

Hello,

Unfortunately, there is no standard way.
It is possible only with additional code in events but in the JS version events are limited.

Thank you.
delix0731
Posts: 6
Joined: Thu Sep 05, 2019 8:34 am

Re: reset line number in middle of a group

Post by delix0731 »

Hello,
So i'm back to hear.
Is there no solution for this?
I'm sure you have another way to do this. because stimulsoft is really good company which always feedback to customer with good solution.
So, you said there is no standard way, then is there another special way?
Should I fix my mrt file? where should I fix it to apply what I want to do?
Please check this issue again please.
I used this function with MS SQL - report builder. and they generated the number automatically and reset to 1 each page.
I believe stimulreport.JS also can do that.

Also I require put this issue for next update. please!
delix0731
Posts: 6
Joined: Thu Sep 05, 2019 8:34 am

Re: reset line number in middle of a group

Post by delix0731 »

Lech Kulikowski wrote: Tue Sep 10, 2019 10:45 pm Hello,

Unfortunately, there is no standard way.
It is possible only with additional code in events but in the JS version events are limited.

Thank you.
So, can you tell me, the code?
I mean this one is JS but some of C# code still works in the report even it's JS report.
I wanna try everything what I can do. It's really basic technology I think. I really need it. I can't use this report about 5 month because of this issue.
Lech Kulikowski
Posts: 6265
Joined: Tue Mar 20, 2018 5:34 am

Re: reset line number in middle of a group

Post by Lech Kulikowski »

Hello,

We have added that task to our to-do list.

Thank you.
#1092
delix0731
Posts: 6
Joined: Thu Sep 05, 2019 8:34 am

Re: reset line number in middle of a group

Post by delix0731 »

thank you so much, I hope I can get the result soon.
Lech Kulikowski
Posts: 6265
Joined: Tue Mar 20, 2018 5:34 am

Re: reset line number in middle of a group

Post by Lech Kulikowski »

Hello

We will let you know about the result.

Thank you.
Post Reply