M
M
maiskiykot2018-12-30 23:47:42
Yii
maiskiykot, 2018-12-30 23:47:42

How to change table layout to div in angular?

Unfortunately, I'm not too familiar with angular, but I ran into this problem:
There is a layout table with active cells (data-id). I need to wrap this table into a div to make the cells fluid. However, when trying to assign data-id to newly rendered divs, the procedure for sending data stops working. What needs to be corrected to complete my task? Table code below:

<table id="seller-orders" style="width:100%; border:1px solid red;" data-url="<?= Url::toRoute(['/order/to-client']); ?>", data-update-url="<?= Url::toRoute(['/order/list-orders-for-seller', 'posId' => $posId]); ?>">
      <tr>

The cell of the table transmits the Id of the product upon clicking.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question