displayingt checkboxes in table grid

26 views
Skip to first unread message

bellammal...@gmail.com

unread,
Nov 18, 2014, 8:20:32 AM11/18/14
to open...@googlegroups.com
Hi,

I am giving one link leftside in learning resource tab and by using that link, i need to display one grid displaying some my own columns and with check boxs having one column in that.what are the classes need to refer to display the grid with check boxes for every row in that grid.

Thanks!
Mallikarjuna Bellam

bellammal...@gmail.com

unread,
Nov 20, 2014, 12:14:32 AM11/20/14
to open...@googlegroups.com, bellammal...@gmail.com
any update on this please.?

Florian Gnägi

unread,
Nov 20, 2014, 12:53:09 AM11/20/14
to open...@googlegroups.com
hi

Sorry, I really don’t understand what you are trying to do. Can you please rephrase it? Did you use the the debugger to learn how tables work in other places?

Best is to update to 10.0 where in the authoring environment tables already have checkboxes. 

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------



bellammal...@gmail.com

unread,
Nov 20, 2014, 1:50:11 AM11/20/14
to open...@googlegroups.com
Hi,

I have attached the png and showned in circle,I have searched for this,but for this table we are using common class,i want to be display my own columns in the table.can i reuse that to according to my requirement.

Thanks!
Mallikarjuna
...
Checkbox image.png

Florian Gnägi

unread,
Nov 20, 2014, 2:32:42 AM11/20/14
to open...@googlegroups.com
Have a look at setMultiSelect and addMultiSelectAction methods in TableController. You can also set it via the TableGuiConfiguration. Then set a listener to this controller and catch the Table.COMMAND_MULTISELECT events. 

Cheers
Florian


<Checkbox image.png>

bellammal...@gmail.com

unread,
Nov 24, 2014, 8:13:54 AM11/24/14
to open...@googlegroups.com
Hi,

I have created the same but not able catch an event while clicking on save button
 Save buuton code added like this :

            tableCtr.addMultiSelectAction("save", CMD_SAVE);
     
tableCtr.setMultiSelect(true);
setTableCtr(tableCtr);
there is no event coming to event method..can you please suggest the same.

Thanks!
Mallikarjuna
...

Florian Gnägi

unread,
Nov 26, 2014, 2:36:39 AM11/26/14
to open...@googlegroups.com
- Did you set your controller as listener to the table controller?
- There are two event methods, are you sure you are using the right one (the one where the source is a controller and not a component)

Cheers
Florian 
Reply all
Reply to author
Forward
0 new messages