Dear FOEX Team,

Is it possible to show the number of records in a grid without pagination(on header part of the grid). If yes, please advise.

Regards, Nazeer Ahamed

asked 01 Oct, 04:51

Nazeer's gravatar image

Nazeer
794
accept rate: 0%


We currently don't have an option for this but you can set this up manually. The steps are:

  1. In the grid's FOEX Config dialog set "Hide Pagination to "Yes" e.g.

    alt text

  2. Add a FOEX layout region and set your grid as a child region

  3. Create a toolbar region as a child region and set the "Position" in the settings to "Bottom"

  4. Add a Button and FOEX Display Item to the toolbar. For the button label set it to "->" and make sure the display sequence is lower than the page item. This will right align the page item.

    alt text

  5. Create a dynamic action which uses the "After Refresh" event on your gris and uses a regular APEX "Set Value" action which is based on the following Javascript Expression:

e.g.

(function() {
    var store = (this.data && this.data.store);
    return (store) ? store.count() + ' of ' + store.getTotalCount() : '';
}).call(this)

alt text

Here is how it should look:

alt text

link

answered 02 Oct, 04:21

FOEX-SUPPORT's gravatar image

FOEX-SUPPORT
4.6k15
accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×1
×1
×1
×1

Asked: 01 Oct, 04:51

Seen: 47 times

Last updated: 02 Oct, 04:21

FOEX Links