Fixed Columns need to Editable [Fixed] !! (Fixed columns datatable editable)

Fixed Columns need to Editable [Fixed] !! (Fixed columns datatable editable)

al915al915 Posts: 4Questions: 1Answers: 0

There are some people asking how to fix fixed columns need to editable.

The answer is added custom class in the text field such as
<input class="abc" style="width:70px" type="text" id="clientId_0" name="clientId_0" value="">

As Clone DataTable copy the nature of the original table, it gets class abc.

Using these codes,
$('.abc]).on('change', function(){
id = $(this).attr('id').replace('clientId_', ""); //Get Id
$('[id^=clientId_' + id + ']').val($(this).val()); //Put Clone Datatable value to original datatable
});

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin
    Answer ✓

    With the latest versions of Editor and FixedColumns, it should just work like in this example.

    Allan

  • al915al915 Posts: 4Questions: 1Answers: 0

    thanks a lot

  • al915al915 Posts: 4Questions: 1Answers: 0

    However, the latest versions of editor needs money

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    If you are already using a licensed version of Editor then it is a free upgrade since all v1.x updates are free for license holders.

    If you don't have an Editor license, then yes, if you want to use Editor you would need to purchase a license.

    Allan

This discussion has been closed.