Important! A new Community experience launched on September 26, 2017. Read more about it here or continue to Base Camp.
Voting: 
Vote up!
0 Votes
3 Replies
Unanswered

segment data reload

Question asked by shivasai dasari on Apr 18, 2017 08:39 EDT

Hi , When i try to set data in the segment using form.SegmentView.setData(resultArry) , keyboard closes for each charector and again i need to click on textfield to open keyboard and search and when setData stops setting data into segment keyboard works fine , can you please find any solution for this

Posted In
Kony Inc Kony Studio
Vote up!
0 votes
Vote down!

Hello Shivasai,

This is expected behavior when we setData() to the segment, entire segment will reload. Once the segment reloads the selected textbox-keypad also get dismissed. If you can explain us the use case of the requirement, definitely we will come along with workaround or solution if any.

Thanks

Replied by: Apr 21, 2017 04:13 EDT
Bronze
Vote up!
0 votes
Vote down!

Thanks for the Responce mohammad , I agree with you , in my senario I am using the segment data loading for the search functionality , actually when I search the data , according to search text in the texBox, segment should filter and matched data is set in segment using setData(), while searching for each charector i entered in textBox Keyboard is closing, As per the users persective it will be not good to click again the textBox and search for each letter , is there any solution that i can make keyboard open until user types the searchtext and while typing all data , segment should filter but keyboard should not close.

 

Replied by: Apr 21, 2017 09:11 EDT
Vote up!
0 votes
Vote down!

Thanks for the Responce mohammad , I agree with you , in my senario I am using the segment data loading for the search functionality , actually when I search the data , according to search text in the texBox, segment should filter and matched data is set in segment using setData(), while searching for each charector i entered in textBox Keyboard is closing, As per the users persective it will be not good to click again the textBox and search for each letter , is there any solution that i can make keyboard open until user types the searchtext and while typing all data , segment should filter but keyboard should not close.

 

Replied by: Apr 21, 2017 09:13 EDT