简体   繁体   English

如何在 jqGrid 中添加额外的列

[英]How to add extra column in jqGrid

Hi i have this jqgrid in asp.net webform and i successfully load the data but is it possible to add extra column to every row.嗨,我在 asp.net 网络表单中有这个 jqgrid,我成功加载了数据,但是可以在每一行中添加额外的列。

here's what my expected result assuming i have File_ID,File_Name, File_age column i need to add i more with a default name open file这是我的预期结果,假设我有 File_ID、File_Name、File_age 列,我需要用默认名称打开文件添加更多

File_ID|File_Name|File_age|Action
---------------------------------
123    |abc      | 24     |openfile
321    |cba      | 42     |openfile

the open file is a link which will call a code behind file.打开的文件是一个链接,它将调用隐藏文件的代码。 Row select wont work because i have already a row select that will open the file information行 select 不会工作,因为我已经有一行 select 将打开文件信息

Hope someone help me i'm kida new at this Thank you in advance希望有人帮助我,我是新手

if you want to add a column dynamically then you need to rebind the grid again check the link below.如果要动态添加列,则需要再次重新绑定网格,请检查下面的链接。

jqGrid add new column jqGrid 添加新栏目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM