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
175
How do I modify the style of a cell that is being edited?
posted

I can't seem to figure out how to modify the style of a cell that is being edited in the webdatagrid.  I'm currently using the Office2010Blue StyleSet.  Can't find any good documentation on styling the webdatagrid.  Any suggestions?  The solution needs to be applicable to IE6.

Thanks in advance,
Dale

Parents
No Data
Reply
  • 19693
    Verified Answer
    posted

    Hello Dale,

    I recommend you to walk through the Alex's article about WebDataGrid styling:

    http://community.infragistics.com/blogs/engineering/archive/2010/08/25/webdatagrid-css-styling-guide.aspx

    Especially regarding your case you need to override igg_EditCell class in ig_dataGrid.css file.

    If you want to change the appearance only in the current WebDataGrid you should set EditCellCssClass inside the CellEditing behavior:

    <style type="text/css">

            . newEditCell

            {

                background-color: Red;

                color: Green;

                border: solid 1px #AAAAAA !important;

            }

    </style>

     

    <Behaviors>

                    <ig:EditingCore>

                        <Behaviors>

                            <ig:CellEditing EditCellCssClass="newEditCell">

                            </ig:CellEditing>

                        </Behaviors>

                    </ig:EditingCore>

          </Behaviors>

    Let me know if you need further assistance regarding this

Children
No Data