can the select on the grid be made not multiple?

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

can the select on the grid be made not multiple?

#1

Postby t4nu » Tue May 24, 2016 3:50 am

Hi,
As the title stated, can it be done like that?
What I mean is, as far as I know if the show select column is checked, there will be a checkbox appear that can make us select certain column. But the selection is in multi select mode (can select more than 1 row), while what I need is when a user select another row, the selection change to that row and unselect the previously selected row.

Thanks in advance for the help.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue May 24, 2016 9:05 am

There isn't anything built into Ebase to do this, but you could write it pretty quickly. Remove the built-in select column (if you're using it) and add your own boolean checkbox column and set the Immediate Validation option. Then write a script to loop through the table and clear all row selections except the current row. This is a server-side solution. I guess you could probably create a client-side solution fairly easily too.
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#3

Postby t4nu » Wed May 25, 2016 11:12 am

OK. will try to do that then.
Thanks.
Jon wrote:There isn't anything built into Ebase to do this, but you could write it pretty quickly. Remove the built-in select column (if you're using it) and add your own boolean checkbox column and set the Immediate Validation option. Then write a script to loop through the table and clear all row selections except the current row. This is a server-side solution. I guess you could probably create a client-side solution fairly easily too.
0 x


Who is online

Users browsing this forum: No registered users and 5 guests