top of page

Checkbox-Filter

Collection
Room
INFO
Living-room-Sofa

01/19 - 01/23

Living-room-Sofa

Klicken Sie hier, um eigene Inhalte hinzuzufügen oder verbinden Sie Datenquellen aus Ihrer Kollektion.

Vom:

$550

GO
Office-Chair

01/19 - 01/23

Office-Chair

Klicken Sie hier, um eigene Inhalte hinzuzufügen oder verbinden Sie Datenquellen aus Ihrer Kollektion.

Vom:

$550

GO
Living-room-table

01/19 - 01/23

Living-room-table

Klicken Sie hier, um eigene Inhalte hinzuzufügen oder verbinden Sie Datenquellen aus Ihrer Kollektion.

Vom:

$550

GO
Square-Table

01/19 - 01/23

Square-Table

Klicken Sie hier, um eigene Inhalte hinzuzufügen oder verbinden Sie Datenquellen aus Ihrer Kollektion.

Vom:

$550

GO
Chair (Livingroom/Kitchen)

01/19 - 01/23

Chair (Livingroom/Kitchen)

Klicken Sie hier, um eigene Inhalte hinzuzufügen oder verbinden Sie Datenquellen aus Ihrer Kollektion.

Vom:

$550

GO
Round-Table

01/19 - 01/23

Round-Table

Klicken Sie hier, um eigene Inhalte hinzuzufügen oder verbinden Sie Datenquellen aus Ihrer Kollektion.

Vom:

$550

GO

CODE

CLOSE.png

import wixData from 'wix-data';

 

$w.onReady(function () {

    $w("#checkboxCollection").onChange(() => {filterView();});

    $w("#checkboxRoom").onChange( (event, $w) => {filterView();});

});

        

 function filterView(){

    let collection = $w("#checkboxCollection").value

    let room = $w("#checkboxRoom").value

 

    console.log('collection', collection);

    console.log('room', room);

 

    $w("#dataset1").setFilter( wixData.filter()

        .hasSome("collection", collection)

        .hasSome("room", room)

    )

 

    .then( () => {let count = $w("#dataset1").getTotalCount();})

    .catch( (err) => {

    console.log(err);

    } );

 }

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 00:08:25

! YES ! Arthur is out there XDDDDDDDD

30.7.2020
russian-dima 00:08:07

Hello! Some one out there?

30.7.2020
russian-dima 18:55:23
29.7.2020
russian-dima 17:26:48

No problem, you are welcome ;-)

24.7.2020
arthurvalatin 22:54:45

Very helpful tutorial russian-dima! Thank you so much!

24/07/2020
Seite 1 von 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