Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Pragmatically Add row at any row Position in iggrid
posted

Hello,

I'm using iggrid with mvc helper which contains features as below

features.Sorting().Type(OpType.Remote).SortUrlKey("ColumnName").Mode(SortingMode.Single);
features.Selection().Mode(SelectionMode.Row).Activation(true);
features.Hiding().ColumnSettings(settings => settings.ColumnSetting().ColumnKey("SafetyStockLevel").Hidden(true).AllowHiding(true));
features.ColumnMoving().ColumnMovingDialogContainment("window");
features.Updating().EditMode(GridEditMode.None).EnableAddRow(false).EnableDeleteRow(false);
features.AppendRowsOnDemand().LoadTrigger(LoadTrigger.Auto).Type(OpType.Remote).ChunkSize(6).ChunkSizeUrlKey("PageSize").ChunkIndexUrlKey("CurrentIndex");

I am using below code to add new row dynamically in grid

$(".selector").igGridUpdating("addRow", rowObj);   

Issue:

The new row is added but is always added at the last position in grid.

But i want to add the row in any position in grid , so is there ant method available to achieve this functionality ?

Thanks,

Vishal
 

Parents Reply Children