0
如何獲取jqgrid中另一列中一列的格式化值。如何獲得jqgrid中另一列中一列的格式化值
對於如:
{ name: 'amount', index: 'amount', sorttype: "float", formatter: processAmount, title: false },
{ name: 'netAmount', index: 'netAmount', sorttype: "float", formatter: function (cellvalue, options, rowObject)
{
// How do I get the formatted value of column "amount" here?
}
}
我知道我張貼很少的我的要求或代碼。但我希望這已經足夠。請讓我知道你是否需要更多的信息。網格的遺體將被放置在頁面上之前
感謝, 山姆
哦,好的。我是這麼想的。在這裏完成的自定義格式有點複雜,不知何故,我認爲不要再次調用它。 – sam113
感謝上面奧列格的信息。這是實現更大任務的一種方式。我已經把更大的任務作爲一個不同的問題。我真的希望你有一些時間來研究這一點。任何想法都會非常受歡迎和高度讚賞。 http://stackoverflow.com/questions/17274570/sort-a-custom-formatted-column-in-jqgrid – sam113