Topic: TableGrid

In a project (like the PhoneBook) there are two Tables. The first has the information of the persons and in the other  are the phone numbers.

When I click   in the tableGrind of the persons  in a empty place the  tablegrid with the phone numbers  shows all the numbers. How can I avoid it ?

Re: TableGrid

Can you attach your project, because in my project I can't reproduce this error.

Dmitry.

Re: TableGrid

When you click the first time in empty space of tablegrid1 it shos all the numbers in tablegrid2.

Post's attachments

Attachment icon phonebook.zip 325.92 kb, 346 downloads since 2017-09-14 

4 (edited by derek 2017-09-14 17:18:36)

Re: TableGrid

Hi v_pozidis,
You have taken Dmitry's basic phonebook application but changed the processing logic by placing the second tablegrid (to show the filtered search results) on the same form.  So, if you click in an empty space in the tablegrid, your search filter has nothing to restrict the answer by and will therefore return all rows.
The easiest way to prevent this might be to give focus to the table as soon as the form is opened so that the filter can never be blank.
Please see attached.
Derek.

Post's attachments

Attachment icon phonebook.zip 337.05 kb, 392 downloads since 2017-09-14