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