This is a simplification of a previous post.
I have 2 projects/solutions using very similar code to generate an iggrid. One creates HTML which contains DIVs holding the featurechoosericon, the other doesn't. I have checked js and css references and can't see any issues. See below
The following
@(Html.Infragistics().Grid(Model.Customers.AsQueryable()).PrimaryKey(
"ID")
.Features(features =>
{
features.Hiding().ColumnChooserHideOnClick(true);
features.Sorting().ModalDialogSortOnClick(false).Mode(SortingMode.Multiple).Type(OpType.Local);
//features.Resizing();
features.Paging().PageSize(10).Type(OpType.Local);
features.Filtering();
features.Updating();
})
.ID("GraphGrid")
.Width("100%")
.Height("500px")
.DataBind()
.Render()
)
generates table cells as follows
<th title="click to sort column" class="ui-iggrid-header ui-widget-header ui-iggrid-sortableheader ui-state-default" id="GraphGrid_ID">
<a href="#">
<span class="ui-iggrid-headertext">ID</span>
<span class="ui-iggrid-colindicator"></span>
</a>
<div class="ui-iggrid-indicatorcontainer">
<a title="" id="GraphGrid_featureChooser_headerButton_ID" href="#" th-remove-focus="">
<span class="ui-iggrid-featurechooserbutton ui-icon ui-icon-gear"></span>
</div>
</th>
This
@(Html.Infragistics().Grid<System.Data.DataTable>(Model)
.PrimaryKey("Datagain file:")
.Features(features => {
features.Updating(); })
.DataSource(Model)
.Render())
creates HTML without the divs for the feature chooser.
<th title="click to sort column" class="ui-iggrid-header ui-widget-header ui-iggrid-sortableheader ui-state-default" id="GraphGrid_Datagain file:">
<span class="ui-iggrid-headertext">Datagain file:</span>
</th>.
My error. Tried to change the captions and ids on the table.