Change position of Select summary information

Change position of Select summary information

HeritianaHeritiana Posts: 4Questions: 0Answers: 0

Hi,

Is it possible to change the position of select summary information? Actually, the select summary information is located after the table information summary. I would like to have an information like this : 1 row selected / 57 entries.

Thanks,

Replies

  • colincolin Posts: 15,177Questions: 1Answers: 2,590

    You can change the position with dom, it's the i that you'll need to move. You can change the string with language.select.rows,

    Colin

  • HeritianaHeritiana Posts: 4Questions: 0Answers: 0

    Thanks Colin,

    But i have another problem.
    This is my configuration:

    "language": {
                    "info": "",
                    "select": {
                        "rows": {
                            "_": "%d rows selected / _MAX_ entries",
                            "0": "_MAX_ entries",
                            "1": "%d row selected / _MAX_ entries"
                        }
                    }
                }
    

    The results:
    * for 0 selected : MAX entries;
    * for 1 selected : 1 row selected / MAX entries;
    * for many selected : 3 rows selected / MAX entries.

    How can a get the MAX value (Number of records in the table without filtering)

    Thanks,

  • colincolin Posts: 15,177Questions: 1Answers: 2,590

    Sorry about your messages, the spam filter picked them up.

    You can't do that with the language.select.rows as it only accepts a string, you can however overwrite that string when items are selected - see example here,

    Colin

  • HeritianaHeritiana Posts: 4Questions: 0Answers: 0

    Thanks Colin,

Sign In or Register to comment.