Grid - search unformated field?!

1 view
Skip to first unread message

Wagner Benicio

unread,
Dec 10, 2009, 2:28:14 PM12/10/09
to mvccontrib-discuss
I have a grid table where the first field is a radiobutton or link,
when I use the quick search grid, this field is being transformed into
the undefined value in grid.

sample:
Html.Grid ((List <GINModel.Users>) ViewData [ "AllUsers"]). Columns (
column => (
column.For (u => u.Code). Action (a => (%> <a href="#"
onclick="ItemCC();"> <%= Html.Encode (a.Code)%> < / a> <%));
column.For (u => u.Name);
)). Attributes (id => "dataGridUser"). Render ();

initially create a table:
Code | Name
<a href=#...> 1 </ a> | Wagner
<a href=#...> 2 </ a> | Paul

after search:
Code | Name
undefined | Wagner
undefined | Paul

when solve this problem?

Jeremy Skinner

unread,
Dec 10, 2009, 2:38:47 PM12/10/09
to mvccontri...@googlegroups.com
I don't really understand what the issue is. The MvcContrib grid just produces a normal HTML table - there is no search functionality built in. What is the 'quick search' that you're referring to?

Jeremy

2009/12/10 Wagner Benicio <wagner....@gmail.com>

--
Contact Jeffrey Palermo or Eric Hexter with specific questions about the MvcContrib project.  Or go to http://mvccontrib.org

To unsubscribe from this group, send email to mvccontrib-disc...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/mvccontrib-discuss?hl=en

Reply all
Reply to author
Forward
0 new messages