Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
Row selection on load in igx grid selection
posted

Hi,

I am using igx-grid with row selection checkbox.I have a requirement on load few rows should be checked in the grid.I can see in angular 10 selectedRows option is there. But my application uses older version of angular.

It has selectedRows() method which gives the selected rows data. But i want to select rows on component load.

Is there any option to make the row selected based on index or something from typescript. Any help will be highly appreciated

Thanks,

Hari

Parents
No Data
Reply
  • 1560
    Offline posted
    Hello,

    I have been looking into your question and as it is mentioned in our release notes here, from version 10.1.0 the selectedRows method is an @Input property.
    I created a small sample using version 8.2 in order to demonstrate how such behavior could be achieved and it could be found here.
    However, in future, please keep in mind that Trial Service Level customers are eligible for samples and support only for the latest available version, which at this point is 10.1.
     Additionally, according to our Maintenance and Support policy the support is applicable to two versions back - the latest stable (10.1), and the previous major version (9.1). Having this in mind, I would strongly recommend you upgrading to any of our latest versions in order to take advantage of all new features and components recently introduced as well as developer support.
    Let me know if I may be of any further assistance.

    Sincerely,
    Teodosia Hristodorova
    Associate Software Developer
Children
No Data