Posting in these forums is disabled. These forums will be available for archive purposes. Please join the new forums at the links below:

  • yui-support - replaces the `YUI 3.x` and `YUI 3 Gallery` forums.
    We have created the following discussion categories within this group to aid discoverability for these most-used topics:
    • Charts for YUI Charts support.
    • DataTable for YUI DataTable support.
    • Gallery for YUI Gallery support, including support for published Gallery components as well as the Gallery process in general.
    • Tools for support of YUI’s suite of developer tools such as selleck, shifter, grover, yogi, etc.
    • Everything Else for questions that don’t fit one of the categories above, we’ve got you covered here.
  • yui-deprecated - replaces the `YUI 2.x` forum and the forums of other deprecated products (`YUI Doc`, `Builder`, `YUI PHP Loader`, etc.).
  [ 1 post ]
New Topic | Post Reply | Print view
Previous topic | Next topic

wajeeha khalid

  • Username: jia
  • Joined: Wed Sep 04, 2013 1:57 am
  • Posts: 2
  • GitHub: jia
  • Gists: jia
  • Offline
  • Profile
  • datatable
  • github
  • io

uncheck YUI datatable checkboxSelectMode

Post Posted: Mon Sep 16, 2013 5:24 am
I am trying to use the 'gallery-datatable-checkbox-select' module. It works fine as long as selection is made. I have some records that i want to configure as checked by default. So i use
dtable.set('checkboxSelected', [1,3,5,7] ); to mark rows at index 1,3,5,7 as checked.
Now if i uncheck row at index 3, it does uncheck the checkbox against the row but when i call dtable.get('checkboxSelected'); it gives me all the four rows including row at index 3 which it should not.
i have followed following example to do the work and it has the same issue as i am facing. ... elect.html
Click on "Set rows 1,3,5,7 Checked" button and then click "Process Selections" button. It processes four rows. Now uncheck row at index 3 and again click on "Process Selections" button. It will again process four rows instead of three.

Kindly tell me what i am doing wrong.

  [ 1 post ]
New Topic | Post Reply | Print view
Previous topic | Next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum