jQWidgets Forums

Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts

  • hurricane
    Participant

    Thanks Peter for a quick update!

    Any plans of considering this change for upcoming jqwidgets release ?

    Regards.


    hurricane
    Participant

    Hi Peter,

    Sorry for not being clear in my example. I am able to produce the same issue to the demo grid as well.

    Here is my data for 3 columns for row 1,
    A B C
    1 V1 V2 <empty cell>

    now copy these 3 cells ctrl+c , then ctrl+v to row 2,3,4. I have copied the results from the grid demo as follows :

    2 V1 V2 V1
    3 V2 V1 V2
    4 V1 V2 V1

    Here, I copied 3 cells but eventually values for only 2 cells got copied. I feel issue still persist.

    On the other side, excel world , following are the results :


    2 V1 V2 <empty cell>
    3 V1 V2 <empty cell>
    4 V1 V2 <empty cell>

    Regards.


    hurricane
    Participant

    Correcting entries :

    FIRST NAME | LAST NAME | AGE
    AB YY <No value>

    Now, I am selecting all of above cells and doing ctrl+c (just like excel copy columns). Then, I did ctrl+v in next row and got following results:
    FIRST NAME | LAST NAME | AGE
    AB YY <No value>
    AB YY AB
    YY AB YY


    hurricane
    Participant

    Thanks Peter for your guidance.

    I tried using deleterow but It is not working as expected since once I drop some row to different place then rowIds are getting changed. This is resulting into wrongly deletion of the rows. I am still not able to figure out the way to get out of this problem.

    To delete rows, I have used rowindex.

    Can you please provide more inputs?


    hurricane
    Participant

    Hi Peter,

    I have used clipboard property with grid columns by customizing event pasteselection. I have added restriction to copy field while copying if it sets to property as false.
    It did work for me. Though, Need your inputs if this logic could break anywhere else unknowingly.

    Appreciated your help!

    Thanks


    hurricane
    Participant

    Thanks guys for your inputs!

    @Peter : I tried this option. But in my case, I am doing a row copy. I still not able to achieve what I wanted using clipboard property. Given solution works well if we do cell copying of the data. In my case, I am doing a row copy. It is still overwriting columns value in grid. Some other work around, do you think of ?


    hurricane
    Participant

    I tried using cellvaluechanging event with each cell, but while copying data it is not getting triggered.Hence, I am not able to get the value to revert. Please guide if I am overlooking something.

Viewing 7 posts - 16 through 22 (of 22 total)