Page 1 of 1

Removing Selection Checkboxes

PostPosted: Thu Oct 25, 2007 7:24 am
by ADobkin
I have removed the selected result actions from the bottom of the list view for certain users. However, the selection checkboxes in the left column remain. Since they no longer seem to serve any function in this case, I would like to remove them to prevent confusion. What is the best way to remove them?

Thanks,
Alan

PostPosted: Fri Oct 26, 2007 7:38 am
by shannah
A preference directive has been added in 0.8 (not yet released) to do this. However none exists for the current version. You should be able to hide them using some clever css though.

-Steve

PostPosted: Mon Nov 05, 2007 2:42 pm
by ADobkin
Okay, thanks. I'm not in a rush for this functionality, so I will wait until you release version 0.8. BTW, I noticed the how-to document "How to add user registration to your application" refers to version 0.7.4, but only 0.7.1 is currently available. Is this a typo?

PostPosted: Mon Nov 05, 2007 3:00 pm
by shannah
No typo. Sorry.. some of the docs are incomplete and must be removed.. When I imported them into the new site I forgot to hide the ones that aren't complete (there are only about 4 or 5 how-to's that are like this)...

Hence the user registration feature probably won't work in 0.7.1

-Steve

Re: Removing Selection Checkboxes

PostPosted: Thu Jul 05, 2012 8:56 pm
by cookie720
so how do we remove the checkboxes? :mrgreen:

Re: Removing Selection Checkboxes

PostPosted: Fri Jul 06, 2012 10:10 am
by shannah
Try the "disable_select_rows" preference.
http://xataface.com/wiki/preferences

-Steve

Re: Removing Selection Checkboxes

PostPosted: Thu Jul 12, 2012 12:29 am
by cookie720
i just tried that, and it doesnt work for some reason, i tried doing it globally in conf.ini , in each tables fields.ini and in application delegate class too. i know it must be something stupid but its not obvious to me yet.....

Re: Removing Selection Checkboxes

PostPosted: Thu Jul 12, 2012 11:37 am
by shannah
Just tried it on a test site on 1.3.x branch. It appears to work.

Added the following to my conf.ini file:
Code: Select all
[_prefs]
   disable_select_rows=1


What version of Xataface are you using?

Re: Removing Selection Checkboxes

PostPosted: Fri Jul 13, 2012 8:03 pm
by cookie720
the latest, 1.3.2...

Re: Removing Selection Checkboxes

PostPosted: Tue Jul 17, 2012 11:15 pm
by guo1987
Good, hope can achieve the expected results






convertpdftoimage.net