[CLOSED] CheckColumn Interceptor Function

Page 2 of 2 FirstFirst 12
  1. #11
    Quote Originally Posted by Daniil View Post
    Returning false from a BeforeCheckChange listener prevents checking.

    Are you able to test my sample with the latest sources? I think it should behave as you need.
    Yes I understand you, but this isn't my requirement. I want to disable or enable the checkbox, not check or uncheck it.
  2. #12
    Do you need the CheckBox looks disabled?
  3. #13
    Yes, this is what I want
  4. #14
    Then, I think, it needs to override the default Renderer of the CheckColumn.
  5. #15
    And when is fired the renderer, when I check another column?

    In that case it could be possible to use a renderer that verify column 1 and 2 values to draw an input with or without disable property.

    Really there is no way to get checkbox element?
  6. #16
    Quote Originally Posted by softmachine2011 View Post
    And when is fired the renderer, when I check another column?
    It is called each time when a row is refreshed. Editing any column causes the row to be refreshed

    Quote Originally Posted by softmachine2011 View Post
    In that case it could be possible to use a renderer that verify column 1 and 2 values to draw an input with or without disable property.

    Really there is no way to get checkbox element?
    There is just a <div> with a respective CSS background-image. It would be too heavyweight if there will be checkboxes for each row.

    So, returning false from a BeforeTabChange listener and applying required CSS to get the "checkbox" looks disabled appears to be the best solution.
    Last edited by Daniil; Sep 25, 2012 at 6:57 AM.
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] Interceptor for checkbox check event
    By Aparna_B in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 23, 2011, 4:39 AM
  2. checkcolumn
    By pankaj in forum 1.x Help
    Replies: 0
    Last Post: Mar 31, 2010, 3:00 AM
  3. CheckColumn Checked
    By Maia in forum 1.x Help
    Replies: 7
    Last Post: Jan 14, 2010, 9:30 AM
  4. CheckColumn and CheckboxSelectionModel
    By Satyanarayana murthy in forum 1.x Help
    Replies: 6
    Last Post: Nov 25, 2009, 12:47 AM
  5. get value from checkcolumn
    By maxdiable in forum 1.x Help
    Replies: 2
    Last Post: Jul 10, 2009, 6:28 PM

Tags for this Thread

Posting Permissions