Topic
4 replies Latest Post - ‏2012-03-07T15:25:23Z by DGawron
SystemAdmin
SystemAdmin
532 Posts
ACCEPTED ANSWER

Pinned topic How to add a check box column to a data table in portlet factory?

‏2009-08-27T16:36:50Z |
Hi All

I am retrieving set of records from database and displaying as a data table on portlet (Used View & Form builder). This is working fine.

Now I want to add a check box column to the data table. To get this I used Data Column Modifier builder to insert a new column in the data table. In the Data Field Modifier builder, under "field settings section" I have selected "checkBox" as a control type. Now I am able to get the check box column on the data table, Like a check box on every row but I am not getting the check box on the column heading also.

My requirement is to get a check box even on the column heading, So that when ever the user selects the check box on column heading, all the check boxes on every row should be selected.

How can I implement this. Please give me your suggestions...

Thanks for your time,
Pradeep.
Updated on 2012-03-07T15:25:23Z at 2012-03-07T15:25:23Z by DGawron
  • SystemAdmin
    SystemAdmin
    532 Posts
    ACCEPTED ANSWER

    Re: How to add a check box column to a data table in portlet factory?

    ‏2009-08-28T10:02:48Z  in response to SystemAdmin
    I would like to show you a jpg file for your better understanding my requirement (getting a check box on column also) . Please find the attachment

    Thank you,
    Pradeep.
    • anu$123
      anu$123
      2 Posts
      ACCEPTED ANSWER

      Re: How to add a check box column to a data table in portlet factory?

      ‏2010-12-08T10:42:13Z  in response to SystemAdmin
      hi
      i have the same requirement as yours
      i need to display a radio button in each row as you placed check box
      Not only in column header, i was unable to get it in the column itself
      please let me know how to get this

      Thanks
      Anusha
  • hqjr
    hqjr
    1 Post
    ACCEPTED ANSWER

    Re: How to add a check box column to a data table in portlet factory?

    ‏2012-02-28T06:22:20Z  in response to SystemAdmin
    Pradeep ... you find any solution for your requirement. We are facing the same issue ...
    • DGawron
      DGawron
      251 Posts
      ACCEPTED ANSWER

      Re: How to add a check box column to a data table in portlet factory?

      ‏2012-03-07T15:25:23Z  in response to hqjr
      Use a Checkbox builder and target the column's header page location. Then add some JavaScript to toggle or set the check box all rows when the check box in the header is clicked.