Results 1 to 3 of 3

Thread: checkbox header with row click is not working properly

  1. #1

    Default checkbox header with row click is not working properly

    Hi
    I am using a grid with multiple rows each row having checkbox . If you selectAll by clicking header checkbox , and deselect by clicking any row ,header checkbox is also getting deselected .
    This works as expected in version 6.0.1 Classical tool kit .Fiddle example is given bellow

    https://fiddle.sencha.com/#view/editor&fiddle/24tc

    but same code does not work in ext 6.5.1 , if you select all by header checkbox , and deselect any row header checkbox is not getting deselected for first time . Fiddle is given bellow

    https://fiddle.sencha.com/#view/editor&fiddle/24tf

    i nee​d to use row click in checkbox model with header checkbox . please suggest me what to do

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    It seems to work in this simplified test case:
    https://fiddle.sencha.com/#view/editor&fiddle/24uc

    Can I ask why you are setting checkOnly to true and then simulating the opposite behavior in the rowclick listener?

  3. #3

    Default

    Yes you are right , checkOnly property was causing problem as given in this fiddle

    https://fiddle.sencha.com/#view/editor&fiddle/24u1

    But i still have a doubt why same code is behaving differently in two versions

Similar Threads

  1. Replies: 2
    Last Post: 10 Aug 2017, 6:29 AM
  2. Grid header checkbox is not aligned properly
    By rishu27 in forum Ext: Q&A
    Replies: 1
    Last Post: 23 Jun 2013, 9:35 PM
  3. Replies: 3
    Last Post: 25 Nov 2009, 5:34 PM
  4. [FIXED] CheckBox not working properly in IE6
    By RaviM in forum Ext GWT: Bugs (2.x)
    Replies: 3
    Last Post: 19 Nov 2009, 12:40 AM
  5. Checkbox SM not unchecking header properly
    By varsos in forum Sencha Ext JS Q&A
    Replies: 6
    Last Post: 13 Jan 2009, 11:32 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •