Hi Alex, the vertical scroll bar doesnt retain its position
Hello Alex,
I have placed a grid inside an <HTML> table tag which also acts a Tree tag. The visible row count is set to 20. Now a vertical scroll bar appears. When I scroll it up and down 2-3 times and postion a row say 4th at the top of the visible grid and select it (focus on it ), it slips to the bottom of the visible view (grid). This means the scroll bar doesnt retain its postion. However it doesnt happen to the first row.
Is it a problem with CSS?? I have set the table layout as fixed.
Browser : IE 6 sp1
Can you please help me with some general idea? I am in urgent need.
Would greatly appreciate any help.
Thanks and Regards,
Harish
November 27,
Do you see the same behavior in the standard examples? If not, can you identify the piece of your code which triggers this problem?
Alex (ActiveWidgets)
November 28,
Hello Alex,
This is the piece of code I was talking abt:
<crmic:tray2 height = "100%,406"
id = "AuiItems"
title = "<%= otr(crm_ic_appl/ResultList) %>"
width = "100%" >
<crmic:trayBody2>
<crmic:gridLayout cellSpacing = "1"
columnSize = "1"
height = "100%"
rowSize = "2"
width = "100%" >
<crmic:gridLayoutCell colSpan = "1"
columnIndex = "1"
width = "100%"
height = "100%"
rowIndex = "1" >
<div style="overflow:auto;width:100%;height:100%;margin-right:2px;" id="tree">
<crmic:tree id = "MyAuiItemTree"
nodeTable = "<%= AuiItemTree->node_tab %>"
nodeTextColumn = "NODE_NAME"
onCollapseNode = "nodeCollapse"
onExpandNode = "nodeExpand"
multiSelect = "<%= lv_multiselect_true_false %>"
onRowSelection = "nodeSelect"
visibleRowCount = "20"
visibleFirstRow = "<%= AuiItemTree->visible_first_row_index %>"
selectedRowIndex = "<%= AuiItemTree->selected_index %>"
selectedRowIndexTable = "<%= AuiItemTree->selection_tab %>"
table = "//AuiItemTree/Table"
iterator = "<%= AuiItemTree->iterator %>" >
<htmlb:tableViewColumns>
<crmic:treeColumn columnName = "Overdue"
horizontalAlignment = "LEFT"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/todo_due) %>" />
<crmic:treeColumn columnName = "Itemtype"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/Category) %>" />
<crmic:treeColumn columnName = "Priority"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/Priority) %>" />
<crmic:treeColumn columnName = "Description"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/Description) %>" />
<crmic:treeColumn columnName = "Status"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/Status) %>" />
<crmic:treeColumn columnName = "Employeeassigned"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/RespEmpl) %>" />
<crmic:treeColumn columnName = "Groupassigned"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/RespGroup) %>" />
<crmic:treeColumn columnName = "DateReceived"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/irecdate) %>" />
<crmic:treeColumn columnName = "TimeReceived"
edit = "FALSE"
wrapping = "TRUE"
title = "<%= otr(crm_ic_appl/irectime) %>" />
</htmlb:tableViewColumns>
</crmic:tree></div>
</crmic:gridLayoutCell>
Can you please advice? Would setting the style Table layout: FIXED help?
December 18,