top of page

TEST-FILTER

CLOSE.png
Title
Index
Kategorie
Tutorial
Level
Beschreibung
OneWay-Ticket
00040
FUNCTION
ADVANCED
Description
Highlightning
00039
FUNCTION (Textfield)
ADVANCED
Description
CheckBox-Filter
00038
FUNCTION (REPEATER)
ADVANCED
Description
One-Time-PopUp
00037
FUNCTION
EXPERIENCED
Description
Show Me My IP
00036
FUNCTION
EXPERIENCED
Description
Filter my phones
00035
FUNCTION (SELECTION-TAGS)
EXPERIENCED
Description
Little-Quiz
00034
FUNCTION (STATE-BOX & OPTION-BUTTON)
BEGINNER
Description
Video-Manager-V1
00033
VIDEO-PLAYER
EXPERIENCED
Description
Click-Counter
00032
FUNCTION
BEGINNER
Description
Count items in database
00031
FUNCTION (Database)
EXPERIENCED
Description
Comment/Chat-Box
00030
FUNCTION (CHAT)
ADVANCED
Description...
Simple ID-Check
00029
FUNCTION
EXPIRIENCED
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

OneWay-Ticket

Description

Vom:

00040

CheckBox-Filter

Description

Vom:

00038

Show Me My IP

Description

Vom:

00036

Little-Quiz

Description

Vom:

00034

Click-Counter

Description

Vom:

00032

Comment/Chat-Box

Description...

Vom:

00030

Highlightning

Description

Vom:

00039

One-Time-PopUp

Description

Vom:

00037

Filter my phones

Description

Vom:

00035

Video-Manager-V1

Description

Vom:

00033

Count items in database

Description

Vom:

00031

Simple ID-Check

Description...

Vom:

00029

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
russian-dima 18:46:47
31.8.2020
russian-dima 18:46:10

Here you can see my link to googhttp://www.google.de target=_self>www.google.dele.......

31.8.2020
russian-dima 18:45:34

Here you can see a LINK ---> myLinktoGoogle

31.8.2020
russian-dima 14:19:38

rrrrrrrrrr

31.8.2020
russian-dima 14:18:28

qeeeqweqweqwe

31.8.2020
russian-dima 14:01:12

awddawdawd

31.8.2020
russian-dima 13:58:53

23123213

31.8.2020
juanfelipeamt 7:46:31 PM

I tried to change my picture. :)

8/25/2020
juanfelipeamt 7:43:57 PM

Hellooooo

8/25/2020
mr-money-man 13:41:23

As you can see, i changed my PIC (of the test-user --> mr-money-man)

25.8.2020
mr-money-man 13:40:45

Hello!

25.8.2020
russian-dima 18:59:25

You are still not a member of my site? So it is time to change it xDDDDDD

24.8.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