Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Suggestions » Auto numerate records in a list view
Auto numerate records in a list view [message #1940] Mon, 09 February 2009 07:13 Go to next message
bonzo_bcn is currently offline  bonzo_bcn
Messages: 152
Registered: June 2008
Senior Member
I think it would be great to have a numeration for records in list view.
That way you could know how many records have been selected after a search etc.
Re: Auto numerate records in a list view [message #1941 is a reply to message #1940] Mon, 09 February 2009 08:12 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
Surely the number of pages, coupled with the rows per page, already indicates the number of rows from the current search?

Re: Auto numerate records in a list view [message #1942 is a reply to message #1940] Mon, 09 February 2009 10:17 Go to previous messageGo to next message
bonzo_bcn is currently offline  bonzo_bcn
Messages: 152
Registered: June 2008
Senior Member
If the total number is an exact multiple of rows per page yes, otherwise, to get the exact number you have to multiply rows per page x (num pages -1) and then manually count the number of records in the last page.
An alternative would be to display the number of total records retrieved next to 'page generated in XX seconds'
Re: Auto numerate records in a list view [message #1944 is a reply to message #1942] Mon, 09 February 2009 10:57 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
I dont think that the exact number of records is that important. In my many years of experience the number of pages has always been "good enough".

Re: Auto numerate records in a list view [message #2035 is a reply to message #1940] Mon, 04 May 2009 12:44 Go to previous messageGo to next message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
I was looking to build a manual message to display the number of rows returned from queries when I came across this post. In my app I often need to know how many records have been returned, and am finding myself constantly multiplying by number of pages then going to the last page and manually counting. I agree with bonzo_bcn that a count would be useful.

I thought that a good way of displaying it might be to modify the show nn bar to say show nn of xx records.

Graham
Re: Auto numerate records in a list view [message #2036 is a reply to message #2035] Mon, 04 May 2009 15:39 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
Attached is a new version of file 'std.buttons.xsl'. Try it out and tell me what you think.

Re: Auto numerate records in a list view [message #2038 is a reply to message #1940] Mon, 04 May 2009 17:49 Go to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
Yes, I like that. It is very simple.

Graham
Previous Topic: Disable (or colorize) buttons while pages load
Next Topic: Message of the Day
Goto Forum:
  


Current Time: Thu Nov 28 09:28:08 EST 2024

Total time taken to generate the page: 0.01187 seconds