{"id":37,"date":"2007-05-08T15:22:58","date_gmt":"2007-05-08T13:22:58","guid":{"rendered":" http:\/\/www.nsonic.de\/blog\/2007\/05\/do-not-toggle-checkbox-when-user-clicks-an-item\/"},"modified":"2007-05-11T19:44:00","modified_gmt":"2007-05-11T17:44:00","slug":"do-not-toggle-checkbox-when-user-clicks-an-item","status":"publish","type":"post","link":"https:\/\/www.nsonic.de\/blog\/2007\/05\/do-not-toggle-checkbox-when-user-clicks-an-item\/","title":{"rendered":"Do not toggle Checkbox when user clicks an item"},"content":{"rendered":"<p>You know the problem: You have a ListView in Report-View with Checkboxes set to true. Fine. But now, if the user clicks on an item to select it (FullRowSelect or not &#8211; it doesn&#8217;t matter) the checkbox is toggled too. But sometimes this is not what you like to have.<\/p>\n<p>So here is the solution:<\/p>\n<p>In the FormLoad-Event (or whereever you like) change the &#8220;Activation&#8221;-Property of the ListView like this<\/p>\n<p>ListView1.Activation = ItemActivation.TwoClick;<\/p>\n<p>Now the checkbox is toggled only if you click on the checkbox itself &#8211; not when you click on the item.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You know the problem: You have a ListView in Report-View with Checkboxes set to true. Fine. But now, if the user clicks on&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[11],"tags":[76,78],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p71Tml-B","_links":{"self":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/37"}],"collection":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":0,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}