Hi,
I've got several WebDataGrids in a WebTab and some of them use the drop down provider to display a drop down of fixed choices in a few columns. The problem I'm facing is that if I add a new row, and click in the cell to display the drop down, the drop down list sometimes displays no where near the cell I'm clicking in. I'd like it to always display underneath the cell so its consistent and predictable for my end users. Are there any EditorControl properties I can see to make that happen?
Thanks,
Jeff Balcerzak
Hi Jeff,
Thank you for posting in the community.
In this scenario it is possible that the EnableDropdownAsChild property of your provider is set to false which may cause a displacement of the dropdowncontainer. I suggest that you try setting this property to true in order to check whether this makes a difference. In order to provide more adequate feedback I would need to see your grid's markup.
Please feel free to contact me if you have any questions.
Please do not hesitate to contact me if you are still experiencing any issues.
Hi Petar,
Here's my grid code :
<ig:WebDataGrid
ID="grdSMIndustrySales"
runat="server"
Width="494px"
DataKeyFields="prikey"
AutoGenerateColumns="false"
EnableDataViewState="true"
EnableViewState="true" >
<Columns>
<ig:BoundDataField DataFieldName="prikey" Key="prikey" Hidden="True" />
<ig:BoundDataField DataFieldName="industrydesc" Key="industrydesc" Width="75px">
<Header Text="Industry" />
</ig:BoundDataField>
<ig:BoundDataField DataFieldName="pct_of_sls_cy" Key="pct_of_sls_cy" Width="75px">
<Header Text="% Sales CY" CssClass="WrapTextHeader" />
<ig:BoundDataField DataFieldName="pct_of_sls_ly" Key="pct_of_sls_ly" Width="75px">
<Header Text="% Sales LY" CssClass="WrapTextHeader" />
<ig:BoundDataField DataFieldName="pct_of_sls_py" Key="pct_of_sls_py" Width="75px">
<Header Text="% Sales PY" CssClass="WrapTextHeader" />
<ig:UnboundCheckBoxField HeaderChecked="False" Key="Deleted" Width="75px" >
<Header Text="Delete" />
</ig:UnboundCheckBoxField>
<ig:UnboundCheckBoxField HeaderChecked="False" Key="HasChanges" hidden="true" >
<Header Text="Has Changes" />
</Columns>
<EmptyRowsTemplate>
No records exist...
</EmptyRowsTemplate>
<Behaviors>
<ig:Activation />
<ig:EditingCore AutoCRUD="False" BatchUpdating="True" >
<ig:CellEditing >
<ColumnSettings>
<ig:EditingColumnSetting ColumnKey="industrydesc" EditorID="ddlIndustryID" />
</ColumnSettings>
<EditModeActions MouseClick="Single" EnableOnActive="True" EnableOnKeyPress="True" />
</ig:CellEditing>
<ig:RowDeleting />
</Behaviors>
<EditingClientEvents CellValueChanged="fnSMIndustrySales_CellValueChanging" />
</ig:EditingCore>
<ig:Selection CellClickAction="Row" RowSelectType="Single" />
<ig:RowSelectors RowNumbering="True" />
<ig:Sorting />
<EditorProviders>
<ig:DropDownProvider ID="ddlIndustryID" VerticalAlign="Bottom" >
<EditorControl DropDownContainerMaxHeight="200px" EnableAnimations="False" EnableDropDownAsChild="true" />
</ig:DropDownProvider>
</EditorProviders>
</ig:WebDataGrid>
I set the drop down provider to true for EnableDropDownAsChild, but the drop down is still showing up erratically. Note, on this page I have six different grid instances each of which run in its own table row, and the table is contained by an Ajax tab panel. Now each table row has a div tag where I define some layout stuff like a border, and the table row is shared with an older Infragistics chart control ( I render the data from the grid to a pie chart as well). So there's lots of nested tables and div tags here before we even get to the first grid. This particular grid is the 4th grid down from the top of the page and typically I see the drop down show up between the second and third grid.
Please let me know if you have an suggestions for changes to make.
Jeff
Thank you for your reply.
Unfortunatelly I am still unable to replicate the matter using 11.2.20112.1019, 2055 and 2086 as well as 10.3.20103.2217. In order to investigate what is causing the matter I would need a small sample in which the behavior is readily observable. It would also be helpful to know which version and build you are using as this would allow me to search for known issues.
Hi, this issues is resolved with build 2086. It is specifically listed as a fix on the bug fix list so I'm good. Thank you!
Hi all,
Thank you for your replies.
Please feel free to contact me if the issue persists after upgrading to the latest product version.
I'm using 11.2.20112.2055 - I'll download the update, then update my project and give it a try.
Thanks!