exact exception is
java.lang.RuntimeException: Deferred binding failed for
'com.google.test.client.CustomDataGridResources' (did you forget to inherit
a required module


On Tue, Jan 31, 2012 at 12:18 PM, vaibhav jain <[email protected]>wrote:

> Hi kiran,
>              I tried as you told me but it is not working.
>
> i am also trying
>
> import com.google.gwt.user.cellview.client.DataGrid;
> import com.google.gwt.user.cellview.client.DataGrid.Resources;
>
>
> public interface CustomDataGridResources extends Resources {
>
>     @Source({DataGrid.Style.DEFAULT_CSS, "../public/css/MyComponent.css"})
>     CustomStyle dataGridStyle();
>
>     interface CustomStyle extends DataGrid.Style {
>
>     }
>
> }
>
>
> and in my other class i am using
>
> DataGrid.Resources resources = GWT.create(CustomDataGridResources.class);
> dataGrid = new DataGrid<T>(pageSize,resources );
>
> but an exception occurs while running the module,that in
> "CustomDataGridResources you forgot to inherit a module".
>
> didnt find why?????
> :(:(
>
>
>
>
>
> Regards,
> Vaibhav
>
>
>
>
>
> On Mon, Jan 30, 2012 at 4:13 PM, kiran reddy <[email protected]>wrote:
>
>> Hi Vaibhav,
>>
>> try the following code to specify class name:
>>
>>
>> dataGrid.getElement().setClassName("dataGridEvenRow");
>>
>>
>> Best Regards,
>> Kiran
>>
>> On Mon, Jan 30, 2012 at 3:57 PM, vaibhav jain <[email protected]>wrote:
>>
>>>
>>> Hello Experts,
>>>                      How can i change my DataGrid look and feel in
>>> gwt2.4,I tried to simply define the property in my CSS to change the
>>> background color of even rows,
>>>
>>> .dataGridEvenRow {
>>>     background: #FF3030 !important;
>>> }
>>>
>>> and in code i used
>>> dataGrid.setStyleName("dataGridEvenRow");
>>>
>>>
>>> but its not reflecting the color change.
>>>
>>> Thanks,
>>> Vaibhav
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" group.
>>> To post to this group, send email to [email protected]
>>> .
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> vaibhav jain.
>



-- 
vaibhav jain.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to