Можно ли добавить сервер asp.net в качестве одного из столбцов в iggrid?серверные кнопки в столбце iggrid
ИЛИ
Можно добавить кнопку HTML для запуска на сервере в одном из столбцов в iggrid?
Причина этого заключается в том: я должен вызывать методы сервера с помощью этой кнопки
Моей iggrid образования колонка находится ниже
$(function() {
var data = <%= GetAccountInformationJSON() %>;
if (data != '')
{
$("#gridAccountInformation").igGrid({
height: ((content_height - HeaderHeight)/2) +"px",
width: "100%",
columns: [
{headerText: "Account", key:"Account", dataType: "string"},
{headerText: "Office", key:"Office", dataType: "string"},
{headerText: "Balance", key:"Balance", dataType: "number", format: "0#,###"},
{headerText: "Init Mrg", key:"InitMarginReq", dataType: "number", format: "0#,###"},
{headerText: "OTE", key:"OpenTrdEqty", dataType: "number", format: "0#,###"},
{headerText: "Total Eqty", key:"TotalEqty", dataType: "number", format: "0#,###"},
{headerText: "Liq. Val", key:"LiquidatingVal", dataType: "number", format: "0#,###"},
{headerText: "Ex/Def", key:"ExcessDeficit", dataType: "number", format: "0#,###"},
{headerText: "Statement", key:"Statement", dataType: "string"}
]
,
features:[
{
name: "Resizing",
}
],
dataRendered: function (evt, ui) {
ui.owner.element.find("tr th:nth-child(1)").css("text-align", "center");
ui.owner.element.find("tr th:nth-child(2)").css("text-align", "center");
ui.owner.element.find("tr th:nth-child(3)").css("text-align", "center");
ui.owner.element.find("tr th:nth-child(4)").css("text-align", "center");
ui.owner.element.find("tr th:nth-child(5)").css("text-align", "center");
ui.owner.element.find("tr th:nth-child(6)").css("text-align", "center");
ui.owner.element.find("tr th:nth-child(7)").css("text-align", "center");
ui.owner.element.find("tr th:nth-child(8)").css("text-align", "center");
ui.owner.element.find("tr th:nth-child(9)").css("text-align", "center");
}
,
dataSource: data //JSON Array defined above
});
$("#gridAccountInformation").igGrid("option", "datasource", data);
}
});