Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Gestione Commissione, contatore domande #19

Open
peppelinux opened this issue May 28, 2020 · 0 comments
Open

[feature request] Gestione Commissione, contatore domande #19

peppelinux opened this issue May 28, 2020 · 0 comments

Comments

@peppelinux
Copy link
Member

Elenchi di candidati ordinati per punteggio, una colonna con il numero progressivo, dove il numero progressivo non conteggi le domande disabilitate.

GB ha proposto la seguente, concordo di poterlo gestire direttamente con JS

    var count = 1;
    var theader = $("table.ui > thead > tr").prepend("<th>#</th>");
    var tbody = $("table.ui > tbody > tr").each(
        function( index ) 
        { 
            var elem =  $(this).find("td i.minus").length > 0 ? "-" : count++;
        
             $(this).prepend("<td>"+elem+"</td>");  
        });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant