Hello Everyone,
I am facing one problem with Gridview. Kindly solve this issue. i.e I am calling javascript functions from gridview RowDataBound event for column highlighting & sum.
it's working fine for now. Now the problem is i need to sort the gridview based on selected column(highlighted column)
Please suggest me how to sort the gridview eventhough javascript functions are calling.
here i am attaching my gridview code & javascript code.
gridview code :
protected void gv_temp_RowDataBound1(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
int column = 0;
int row = e.Row.RowIndex + 1;
foreach (TableCell cell in e.Row.Cells)
{
if (column > 0)
{
cell.Attributes.Add("onmousedown", "mousedowncell(" ...
Go to the complete details ...