nihad640 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

List grid Multiselect check box not toggling #739

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1.CreaTed listGrid with MultiSelect option,Using SelectionType SIMPLE 
2.Data gets populated,and able to select every record on clicking header 
checkbox
3.Not able to deselect all record(toggling not working) on clicking Header 
checkbox.

What is the expected output? What do you see instead?
Expect output is,Once selected the header checkbox I should be able to Uncheck 
header checkbox.But instead I is not toggling and no response I am getting

What version of the product are you using? On what operating system?
I am using smartGWT with Windows 7

What browser(s) does this happen in?  Are there any browsers where the
issue does not occur?
I checked in FireFox 17 and IE9 .Same problem I am facing in both browser.

Please provide any additional information below.
Check uncheck works fine when data is not loaded in ListGrid.But problem
Starts when data gets loaded in ListGrid.
I am Using below code for Creating multiselect option in my Grid

myListGrid.setSelectionType(SelectionStyle.SIMPLE);
myListGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);

Original issue reported on code.google.com by subhajit...@gmail.com on 8 Mar 2014 at 3:37

GoogleCodeExporter commented 9 years ago
Missing information: exact version of SmartGWT, GWT version, test case (or 
Showcase example where only the describes lines can be added to reproduce the 
issue).

Original comment by smartgwt...@gmail.com on 9 Mar 2014 at 7:39

GoogleCodeExporter commented 9 years ago
SmartGWT version 3.0
Gwt version 2.2.0

        searchRsltsGrid.setTop("30%");
        searchRsltsGrid.setWidth("60%");
        // searchRsltsGrid.setHeight(250);
        searchRsltsGrid.setAutoFitData(Autofit.VERTICAL);
        searchRsltsGrid.setShowAllRecords(true);
        searchRsltsGrid.setCellHeight(22);
        searchRsltsGrid.setDragDataAction(DragDataAction.NONE);
        searchRsltsGrid.setShowHeaderContextMenu(false);
        searchRsltsGrid.setHeaderBaseStyle(LEXClientCssConstant.SR_GRID_STYLE);
        searchRsltsGrid

        searchRsltsGrid.setCanSort(true);
        searchRsltsGrid.setAlternateRecordStyles(true);
        searchRsltsGrid.setHoverWidth(125);
        searchRsltsGrid.setHoverHeight(15);
        searchRsltsGrid.setCanResizeFields(false);
        searchRsltsGrid.setCanReorderFields(false);
        searchRsltsGrid.setHeaderAutoFitEvent(AutoFitEvent.NONE);
        searchRsltsGrid.setAlternateRecordStyles(true);
        searchRsltsGrid.setShowAllRecords(true);
        searchRsltsGrid.setSelectionType(SelectionStyle.SIMPLE);
        searchRsltsGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
        searchRsltsGrid.setLeaveScrollbarGap(false);
        searchRsltsGrid.setFields(slNoField, nameField, firstNameField,
                dobField, identNoField, subNoField, controlNoField);

Hope this helps

Original comment by subhajit...@gmail.com on 10 Mar 2014 at 5:26

GoogleCodeExporter commented 9 years ago
Try a recent version, that's 4 releases behind.

Original comment by smartgwt...@gmail.com on 10 Mar 2014 at 6:31