<commit_before>{% if (dg_inline==1) %}
var g_edit_index;
{% endif %}
{% if (group_col!='') %}
var g_dg{{n}}_expand=false;
{% endif %}
$(document).ready(function () {
    $('#dg{{n}}_reload').bind('click', function () {
        load_dg{{n}}();
    });
    {% if (dg_inline==0) and (crud_u=="C")  %}
    $('#dg{{n}}_insert').bind('click', function () {
        dg{{n}}_edit_form('insert');
        {% if (form_full==1) %}
        $('#dg_edit').dialog('maximize');
        {% endif %}
        {{hide_id_ins|raw}}
    });
    {% endif %}
    $('#dg1_export').bind('click', function () {
        JSONToCSVConvertor($('#dg{{n}}').datagrid('getRows'), "{{T('dati')}}", 'label')
    });
    {% if (group_col!='') %}
    $('#dg{{n}}_expand').on('click', function () {
        if (g_dg{{n}}_expand) {
            g_dg{{n}}_expand = false;<commit_msg>Add command optional C.R.U.D.<commit_after>{% if (dg_inline==1) %}
var g_edit_index;
{% endif %}
{% if (group_col!='') %}
var g_dg{{n}}_expand=false;
{% endif %}
$(document).ready(function () {
    $('#dg{{n}}_reload').bind('click', function () {
        load_dg{{n}}();
    });
    {% if (dg_inline==0) and (crud_u=="1")  %}
    $('#dg{{n}}_insert').bind('click', function () {
        dg{{n}}_edit_form('insert');
        {% if (form_full==1) %}
        $('#dg_edit').dialog('maximize');
        {% endif %}
        {{hide_id_ins|raw}}
    });
    {% endif %}
    $('#dg1_export').bind('click', function () {
        JSONToCSVConvertor($('#dg{{n}}').datagrid('getRows'), "{{T('dati')}}", 'label')
    });
    {% if (group_col!='') %}
    $('#dg{{n}}_expand').on('click', function () {
        if (g_dg{{n}}_expand) {
            g_dg{{n}}_expand = false;
{'fraction_non_alphanumeric': 0.2830188679245283, 'fraction_numerical': 0.005306603773584905, 'mean_word_length': 3.2425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5272815', 'n_tokens_mistral': 676, 'n_tokens_neox': 618, 'n_words': 84}