@ronak

@ronak

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Checkbox cascading selection in grid while grouping #101929
    Ronak
    Member

    Thank You @Yavor Dashev and @Admin
    I already thought about using the Tree grid. But in my case, I don’t have a parent-child relationship in data. Basically, it’s based on the user to group on the desired fields and it should be multiple fields too. So I think the tree grid won’t work in that case.
    Even I try normal checkbox for the grid as below
    this.grid.selection = {
    enabled: true,
    action: ‘click’,
    checkBoxes: {
    enabled: true,
    autoShow: true
    }
    }
    It enables the checkbox but I’m not able to get the checked data. I tried the below code as per the doc but don’t know why it returns the checked false every time.
    const result = this.grid.rows.map((x: GridRow) => {
    console.log(x.checked);
    return x.checked = true;
    });
    So can you help me with this too? How to get checked items from the grid and any alternative way I can enable this check box selection manually. Like any method from where did I get something selected group data and I did set the checkbox checked property to true using the code.
    Any suggestion will help to make it work.  I referred to this link https://www.htmlelements.com/docs/grid-selection/#checkbox for selection things.
    Thank You,
    Waiting for your quick response.</div>

    in reply to: Help With Using One Grid for Different Data Sets #101593
    Ronak
    Member

    Hello,
     
    I’m facing one issue with this grid. I want to display the summary row in both data sources. So it will display the summary the first time but when I change Datasource it won’t display the summary row for 2nd Datasource and when I shift back to the first then it shows the summary row.
    I set the below code for the grid and I’m using the angular.
    grid.summaryRow = {
    visible: true,
    };
    one strange behaviour I found sometimes summary row get visible if i resize the browser windows.  so it might be issues with render so i put the grid.refresh and refreshview too. but it wont display summary for the 2nd grid.
    Please suggest something to achieve the same.
    Note :
    I try below url with the mention issues i got the same result in this codpen example too.
    https://codepen.io/dimitar_jqwidgets/pen/eYNOPWE.
    Thank You
     

    in reply to: Grid Editor With Dropdown menu for angular #101073
    Ronak
    Member

    Hello,
    Thanks for the reply, But as i mention already that autocomplete is not working in my case because i have dynamic value dropdown and for autocomplete if the value doesnt exist in the grid it wont show that value.
    Even i try to implement the autocomplete thing but it didn’t work in my case. because might be i used formatFunction on that column and modify the value.
    So, please guide me on this.

    in reply to: how to get selected row data #101040
    Ronak
    Member

    Hello,
    Im using Angualr project and have grid tree with checkboxes in that and its working perfectly even if i select the parent row checkbox it will select the all child rows checkbox automatically thats relly nice features. But now i want to get all checked = true rows and i try with grid.getSelection().rows and its always undefined in my case. can you guide me how do i get all selected rows in angualr. I do go throught the doc but there is no specific mateiral for checkbox and this mention method is not working in my case.
    Im following below link for reference.
    https://www.htmlelements.com/angular/demos/grid/tree-grid-checkbox/
    Thanks,

    in reply to: How to add link with routerLink(Angular) in Grid column #101027
    Ronak
    Member

    Hello,
    Please check below link where i mention everything what i want to do with the given demo. I just want to give hyperlink in template in angular project.
    https://prnt.sc/u7nbku
     
    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)