Add a new row after filtering

Posted by: ashwin.saxena on 7 July 2021, 2:47 pm EST

    • Post Options:
    • Link

    Posted 7 July 2021, 2:47 pm EST

    Initial query: https://www.grapecity.com/forums/wijmo/wijmo-flex-grid-table_1

    Hi Ashwin,

    Thank you so much.

    But I need to show as well filter data and i need to add new row also.

    Is it possible at a time.

    Please suggest me.

    Thanks & Regards,

    Tejaswi Kalyanam.

    sample: https://stackblitz.com/edit/angular-9-0-0-rc-1-dcrnmf

  • Posted 7 July 2021, 4:53 pm EST

    Hi Tejaswi,

    Unfortunately, this is not possible. We cannot prevent filtering on just one item only. Either the filter will remove all the filtered or you can remove filtering by calling the clear method of the FlexGridFilter.

    https://www.grapecity.com/wijmo/api/classes/wijmo_grid_filter.flexgridfilter.html#clear

    Regards,

    Ashwin

  • Posted 8 July 2021, 1:01 am EST - Updated 3 October 2022, 4:19 am EST

    Hi Ashwin,

    Thank you so much. Ok i am continuing the another issue.

    I am using the for the dropdown in side wj-grid.

    This is the code:::

    <select

    bfmField

    class=“form-control”

    id=“sourceType”

    [(ngModel)]=“currentType”

    (click) = getSelectedObject($event.target.value)

    >

    <option *ngFor=“let type of types” [ngValue]=“type”>{{ type }}

    Please this image for related UI In IE browser,





    when select the “Event” option the back cell is selected. I mean when select the out of the cell option the select the back cell not hitting the selected options(please observe images)

    I have observed that it is not working only in IE can you check once this issue

    please tell me how to resolve this issue In IE issue(chrome working fine).

    Thanks & Regards,

    Tejaswi Kalyanam.

  • Posted 11 July 2021, 2:40 pm EST

    Hi Tejaswi,

    I am afraid this is a behavior of IE and cannot be changed. Internet explorer will propagate the click event to the grid even if the event is on the select element. And once the event is propagated to the FlexGrid, it will fire the selectionChanged event and the current cell will be changed.

    Chrome and other browsers do not have this behavior and that is why the current cell is not changed.

    Unfortunately, this cannot be changed as it is implemented in the browser internally.

    ~regards

  • Posted 13 July 2021, 7:54 pm EST

    Hi Ashwin,

    Thank yo so much.

    Regards,

    Tejaswi Kalyanam

Need extra support?

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

Learn More

Forum Channels