C1GridView Client Side Editing

Originally Posted 9 June 2014, 4:28 am EST

  • Originally Posted 9 June 2014, 4:28 am EST

    Hi, I have just simple question where I couldn't find the answer

    How to enabled client side editing on c1gridview only on certain columns?

    Thanks in advance for any help

    Regards,
    Julian
  • Reply

    one more question

    everytime I finish editing column, the highlight always go to row(0) and column(0)
    how to avoid it??I want the highlight stay at the current cell

    Thanks in advance for any help

    Regards,
    Julian
  • Reply

    Hello Julian,

    You can disable editing on any column when client side editing is set to true using the following code:
     $("#C1GridView1").c1gridview("columns")[1].options.readOnly = true;


    Regarding the second question, I could not replicate it at my end i.e. the current cell remains selected when I finish editing by pressing enter key.

    Regards
  • Reply

    maybe I should attach my code so you could see

    see my code on my attachment

    ah one more, how could I give a default value to field that user want to edit??

    for example on my code, when user click field on column TimeIn, there will be format value like "__:__"

    Thanks in advance

    Regards



    2014/06/ClientSide-Editting.rar
  • Reply

    Hello,

    Sorry for the delay on this thread.
    You should use wijinputmask as editor for that column in order display the mask as "__:__".

    Regards
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels