# Collection Data Search Functionality not responsive

**URL:** <https://forum.wixstudio.com/t/collection-data-search-functionality-not-responsive/358>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [April 27, 2023, 3:01pm UTC](https://forum.wixstudio.com/t/collection-data-search-functionality-not-responsive/358 "2023-04-27T15:01:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aerbalok](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@aerbalok](https://forum.wixstudio.com/u/aerbalok)\
**Post date:** [April 27, 2023, 3:01pm UTC](https://forum.wixstudio.com/t/collection-data-search-functionality-not-responsive/358/1 "2023-04-27T15:01:10Z")

</div>

## I am new to coding. Using the available online guidance, I am trying to create data search functionality for my website. I have a dataset named “newmarklist” which consist of student’s records such as mobile number, emailID, their standard and marks obtained by them in different subject.

## To start with I want to create a search page where they provide mobile number as input and get information about their “studentname” and “standard” in the output table. I am using the following code, but not getting any response. Any help will be appreciated.

import wixData from “wix-data” ;  
export function searchButton\_click ( event ) {  
wixData . query ( “newmarklist” )  
. contains ( “mobileNumber” , $w ( “#textBox1” ). value )  
. find ()  
. then ( res =\> {  
$w ( “#table1” ). rows = res . items ;  
});

$w . onReady ( function () {  
$w ( “#table1” ). columns = [  
{  
“id” : “col1” ,  
“dataPath” : “studentName” ,  
“label” : “Name” ,  
“width” : 100 ,  
“visible” : **true** ,  
“type” : “string” ,  
},  
{  
“id” : “col2” ,  
“dataPath” : “standard” ,  
“label” : “Std” ,  
“width” : 100 ,  
“visible” : **true** ,  
“type” : “string” ,  
}];  
});  
}

##
