# Flex Datagrid Problems, can any one help me out!

**URL:** <https://forum.kirupa.com/t/flex-datagrid-problems-can-any-one-help-me-out/324267>\
**Category:** Uncategorized\
**Created:** [August 11, 2011, 12:07pm UTC](https://forum.kirupa.com/t/flex-datagrid-problems-can-any-one-help-me-out/324267 "2011-08-11T12:07:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajesh\_flash](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Post date:** [August 11, 2011, 12:07pm UTC](https://forum.kirupa.com/t/flex-datagrid-problems-can-any-one-help-me-out/324267/1 "2011-08-11T12:07:49Z")

</div>

Hello Friends,

I need a small help in Flex Datagrid !!

Can any one tell me how to delete multiple rows from a datagrid ? I am using allowMultipleSelection = true, and with this i can able to select multiple rows at a time. Now after pressing the delete button both the selected rows should be deleted. How to do this ??

can anyone help me on this with an example.

I have 1 more problem in Datagrid ie, can any one tell me how to change the background color of a row, based on the headerText values. It means, my headerText value is Age for example. Now in this age column, based on the age values i want to change the whole row color of the datagrid. How to do this ??

can anyone help me on this with an example.

I am really thankful to them

Rajesh
