top of page

TEST-FILTER

CLOSE.png
Title
Index
Kategorie
Tutorial
Level
Beschreibung
AVATAR-GENERATOR
00016
DROP-DOWN
EXPERIENCED
Description
Page-Redirection
00015
NAVIGATION
EXPERIENCED
Description...
Multistate-Boxes
00014
Multistate-Boxes
BEGINNER
Description...
Wix-Registration-Page
00013
REGISTRATION
EXPERIENCED
Description...
User-Infos
00012
LOG-IN
EXPERIENCED
Description...
Random Numbers & Strings
00011
NUMBER & STRING
EXPERIENCED
Description...
Switch Safe-Function
00010
FUNCTION (Button)
EXPERIENCED
Description...
Enable-Button (checked)
00009
CHECKBOX & BUTTON
BEGINNER
Description...
Triggered-Email
00008
E-MAIL
ADVANCED
Description...
Get current row in table
00007
TABLE
BEGINNER
Description...
Color-Panel
00006
CUSTOM
EXPERIENCED
Description...
parseFloat-Function
00005
FUNCTION (Numbers)
BEGINNER
Description...

Filter-Results

CLOSE.png

Total-Count

TEST-FILTER

First-Item

TEST-FILTER

Last-Item

TEST-FILTER

Forum-Post
Start-Filter
Show-Code
Filter-Results

AVATAR-GENERATOR

Description

Vom:

00016

Multistate-Boxes

Description...

Vom:

00014

User-Infos

Description...

Vom:

00012

Switch Safe-Function

Description...

Vom:

00010

Triggered-Email

Description...

Vom:

00008

Color-Panel

Description...

Vom:

00006

Page-Redirection

Description...

Vom:

00015

Wix-Registration-Page

Description...

Vom:

00013

Random Numbers & Strings

Description...

Vom:

00011

Enable-Button (checked)

Description...

Vom:

00009

Get current row in table

Description...

Vom:

00007

parseFloat-Function

Description...

Vom:

00005

CODE

CLOSE.png

import wixData from 'wix-data';

 

$w.onReady( () => {

    $w("#dataset1").onReady( () => {   

        let totalCount = $w("#dataset1").getTotalCount()

        $w("#dataset1").getItems(0, totalCount)

        

        .then( (result) => {

            let items = result.items;

        //------------------------------------------

            console.log("Total-Count = " + totalCount)

            console.log((totalCount))

            console.log(items)

            console.log(items[0].index)

            console.log(items[0].kategorie)

            console.log(items[0].tutorialLevel)

        //------------------------------------------

        } );

    } );

} );


 

export function BTNfilterresults_click(event) {show_results(), $w('#BOXfilterresults').show('FadeIn')}

 

function show_results (parameter) {

    $w("#dataset1").onReady( () => {    

        $w("#dataset1").getItems(0, $w("#dataset1").getTotalCount())

 

        .then( (result) => {

            let items = result.items

            let totalCount = result.items.length

            let firstFilteredItem = items[0]

            let lastFilteredItem = items[totalCount-1]

 

            console.log(result)

            console.log(totalCount)

            console.log(firstFilteredItem)

            console.log(lastFilteredItem)

 

            $w('#TXTtotalcount').text = totalCount.toString()

            $w('#TXTfirstitem').text = firstFilteredItem.title.toString()

            $w('#TXTlastitem').text = lastFilteredItem.title.toString()

        })        

    })

}


 

export function BTNfilter_click(event) {start_Filter()}

 

function start_Filter (parameter) {

    $w('#repeater1').show()

 let filter =  wixData.filter()

 let myKategory = $w('#dropdown1').value

 let myTutorial = $w('#dropdown2').value

 

 if ($w('#dropdown1').value!=0) {filter = filter.contains('kategorie', myKategory);}

 if ($w('#dropdown2').value!=0) {filter = filter.eq('tutorialLevel', myTutorial);}

    console.log(filter)

    $w('#dataset1').setFilter(filter)        

}

Comment-Box

CLOSE.png

Version-1.0

Under_Construction.png

Leave a comment. . .

Arrow.png

General-Settings

ON                 OFF

Show Text-Length

ON                 OFF

max. Text-Length

ON                 OFF

Show Key-Press

ON                 OFF

Show Key-Code

ON                 OFF

Show Total-Count

Character-limit

Load default settings
Save
mr-money-man 00:22:20

You can use also the CHAT if you want

 

8.8.2020
mr-money-man 00:22:01

Welcome back on my site ^^

8.8.2020
barbarabessals2 19:21:42

hello!

07/08/2020
mr-money-man 23:52:46

Hello Barbera ^^

7.8.2020
arthurvalatin 07:33:29

hello

04/08/2020
russian-dima 00:15:35

You can also set your own CHARACTER-LIMITATION in the SETTINGS but at moment 240
-characters are the max.

30.7.2020
arthurvalatin 07:13:39

hello!

30/07/2020
russian-dima 00:11:43

PRESS "TAB+ENTER" and you will see how it works without the button xD

30.7.2020
russian-dima 00:10:23

For example it is possible to send messages without to click everytime with the
mouse onto the button xDD

30.7.2020
russian-dima 00:09:45

You will find a lot of hidden intergrated stuff in my little comment/chat-tool ^
^

30.7.2020
arthurvalatin 07:09:33

Hello!

30/07/2020
russian-dima 00:08:44

Check it out! It almost works like a CHAT-BOX

30.7.2020
Page 1 of 1
Design
Settings
About
CLOSE.png
Leave a comment, or start a chat.

Post-Comment

- - -

Pressed-Key

- - -

Key-Code

Text-Length

- - -

max. Text-Length

- - -

Number of Comments

- - -

designed & developed by russian-dima

Write a comment
bottom of page