PDA

View Full Version : Selection/Checkbox Column Style



waldav00
7 Mar 2008, 2:12 PM
Hi,

Does anyone know how to get a checkbox column in a NotesView to look like the EXT selection column instead of just the plain HTML checkbox?

My column formula is:
"<input name='checkboxes' type='checkbox' id='"+@Text(@DocumentUniqueID)+"'>"

Do I need to add a class or something?

Thanks,
David

jratcliff
11 Mar 2008, 11:42 AM
Checkboxes like in the 2nd grid of this?
http://extjs.com/deploy/dev/examples/grid/grid3.html

If so, try this (haven't test this but I will later):



var sm = new Ext.grid.CheckboxSelectionModel();

var yourView = Ext.nd.UIView({
viewName: 'yourview',
gridConfig: {
renderTo : 'idOfSomeDiv',
width:400,
height:200,
sm: sm
}
});

waldav00
11 Mar 2008, 10:55 PM
Thanks for the suggestion but that gives me a javascript error of 'sm' is undefined. Any other suggestions?