Ciao a tutti,

sto cimentandomi con Semantic UI. Ma ho un problema che non riesco a venirne a capo .

In pratica ho creato una pagina con una tabella che visualizza una serie di dati così come riportato qua sotto:

Codice PHP:
<table class="ui selectable very basic table">
                            <thead>
                                <tr>
                                    <?php if($typeCalendar == 2){?><th></th><?php }?>
                                    <th>Collaboratore</th>
                                    <th class="center aligned">Inizio</th>
                                    <th class="center aligned">Fine</th>
                                    <th></th>
                                    <th></th>
                                    <th></th>                                
                                </tr>
                            </thead>
                            <tbody>
                                <?php do{
                                            
$idPicchetto $ROWestraiPicchettiintervallo['picketTaskId'];
                                
?>
                                <tr>
                                    <?php
                                    
if($typeCalendar == 2){?>
                                    <td class="center aligned">
                                        
                                   
                                            <?php if($ROWestraiPicchettiintervallo['AvailabilityType'] == 0) {?>
                                                <i class="car icon" title="Automunito"></i>
                                            <?php } elseif($ROWestraiPicchettiintervallo['AvailabilityType'] == 1) {?>
                                                <i class="phone icon" title="Reperibilità telefonica"></i>
                                            
                                        <?php }?>
                                    </td><?php }?>
                                    <td><?php echo $ROWestraiPicchettiintervallo['FirstName']." ".$ROWestraiPicchettiintervallo['LastName'];?></td>
                                    <td class="center aligned">
                                        <?php list($dateBeginQuery$timeBeginQuery) = explode(" "$ROWestraiPicchettiintervallo['StartDate']);?>
                                        <?php echo convertiEU($dateBeginQuery)." ".$timeBeginQuery;?>
                                    </td>
                                    <td class="center aligned">
                                        <?php list($dateEndQuery$timeEndQuery) = explode(" "$ROWestraiPicchettiintervallo['EndDate']);?>
                                          <?php echo convertiEU($dateEndQuery)." ".$timeEndQuery;?>
                                    </td>
                                    <td class="center aligned">
                                        <i class="edit large link icon" id="editPicket"></i>
                                      
                                    </td>
                                    <td class="center aligned">
                                        
                                        <i class="icon erase large link delete1" id="deletePicket" title="Cancella picchetto"></i>
                                        
                                    </td>
                                    <td class="center aligned">
                                        <?php if($ROWestraiPicchettiintervallo['isVerified'] > 0){?>
                                            <i class="lock large icon" title="Picchetto verificato"></i>
                                        <?php } else {?>                                        
                                            
                                            <i class="checkmark large link icon" title="Verifica picchetto"></i>
                                        <?php }?>
I dati vengono estrapolati da un db.

La finestra modale di modifica è composta così:

codice:
//attiva modal di modifica
    $('.ui.modal.edit').modal('setting', {
            closable    :   false,
            autofocus   :   true
        }
        )
    .modal('attach events', '#editPicket', 'show')
Quello che mi fa ammattire è che non so come passare la variabile identificativa del picchetto ($idPicchetto) alla finestra modale di modifica in modo da poter effettuare una query di estrapolazione dati per poterli modificare.

MI aiutate a tirarmi fuori da questo pantano?

Ciao e grazie

Maur