Php 获取网格中当前行的Id
我正在尝试获取ID st编辑图标的当前行 请在下面的链接中找到TableWidgets文件 Index.php Grid.HTMLPhp 获取网格中当前行的Id,php,yii,Php,Yii,我正在尝试获取ID st编辑图标的当前行 请在下面的链接中找到TableWidgets文件 Index.php Grid.HTML <div id="list-grid" class="box nominimize tablewidget" url/default/index"> <div class="content noPad"> <div class=" table-for-split" heightf
<div id="list-grid" class="box nominimize tablewidget" url/default/index">
<div class="content noPad">
<div class=" table-for-split" heightforsplit="200px">
<table class="table table-bordered">
<thead>
<tr>
<th class=" sorting" sortfield="id"></th>
<th class=" sorting" sortfield="dateordered"></th>
<th class="" sortfield="qty"></th>
<th class=" sorting" sortfield="tag"></th>
<th class="" sortfield="is_active"></th>
<th class="" sortfield="created"></th>
<th class="" sortfield="createdby"></th>
<th class="" sortfield="description"></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>10001</td>
<td></td>
<td>5</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td> action=tw-edit</td>
</tr>
<tr></tr>
</tbody>
</table>
</div>
</div>
请任何人帮助解决此问题。发布您的表格网格HTML。更新检查链接发布您的结果HTML视图源此操作[action=tw edit]和purchaseorder网格在哪里?还想知道您到底想要什么功能?
<div id="list-grid" class="box nominimize tablewidget" url/default/index">
<div class="content noPad">
<div class=" table-for-split" heightforsplit="200px">
<table class="table table-bordered">
<thead>
<tr>
<th class=" sorting" sortfield="id"></th>
<th class=" sorting" sortfield="dateordered"></th>
<th class="" sortfield="qty"></th>
<th class=" sorting" sortfield="tag"></th>
<th class="" sortfield="is_active"></th>
<th class="" sortfield="created"></th>
<th class="" sortfield="createdby"></th>
<th class="" sortfield="description"></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>10001</td>
<td></td>
<td>5</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td> action=tw-edit</td>
</tr>
<tr></tr>
</tbody>
</table>
</div>
</div>